Revision 4568325a libavformat/dv.c

View differences:

libavformat/dv.c
685 685
    /* Ok, everything seems to be in working order */
686 686
    c->frames = 0;
687 687
    c->has_audio = c->has_video = 0;
688
    c->start_time = 0;
688
    c->start_time = (time_t)s->timestamp;
689 689
    c->aspect = 0; /* 4:3 is the default */
690 690
    if ((int)(av_q2d(vst->codec.sample_aspect_ratio) * vst->codec.width / vst->codec.height * 10) == 17) /* 16:9 */ 
691 691
        c->aspect = 0x07;

Also available in: Unified diff