[FFmpeg-devel] [PATCH] better default stream selection
Tue Jun 3 02:02:36 CEST 2008
Right now, av_find_default_stream_index() will return index to the first
video stream. If there is no video stream, it will just return 0.
In case of an audio file with attachments, it may point to the
attachment instead of the audio stream as one would expect.
The attached patch ensure the first audio stream is selected as the
default stream when no video stream is present.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 642 bytes
Desc: not available
More information about the ffmpeg-devel