[FFmpeg-devel] [PATCH] better default stream selection

Michael Niedermayer michaelni
Tue Jun 3 03:52:25 CEST 2008


On Tue, Jun 03, 2008 at 02:02:36AM +0200, Aurelien Jacobs wrote:
> Hi
> 
> 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.

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080603/5b6fc481/attachment.pgp>



More information about the ffmpeg-devel mailing list