* DV demuxer is now capable of decoding auxilary audio stream. So,
everybody who still uses second streo track for dubbing can now export it. * void* -> DVDemuxContext* change (per Fabrice's suggestion). * -dv1394 capture now works in all modes. Originally committed as revision 2458 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
6
ffmpeg.c
6
ffmpeg.c
@@ -2542,6 +2542,12 @@ static void prepare_grab(void)
|
||||
fprintf(stderr, "Could not find video grab device\n");
|
||||
exit(1);
|
||||
}
|
||||
/* If not enough info to get the stream parameters, we decode the
|
||||
first frames to get it. */
|
||||
if ((ic->ctx_flags & AVFMTCTX_NOHEADER) && av_find_stream_info(ic) < 0) {
|
||||
fprintf(stderr, "Could not find video grab parameters\n");
|
||||
exit(1);
|
||||
}
|
||||
/* by now video grab has one stream */
|
||||
ic->streams[0]->r_frame_rate = vp->frame_rate;
|
||||
ic->streams[0]->r_frame_rate_base = vp->frame_rate_base;
|
||||
|
Reference in New Issue
Block a user