[FFmpeg-devel] [PATCH] lavf: allow av_find_best_stream to return AV_DISPOSITION_*_IMPAIRED wanted_streams

Nicolas George george at nsup.org
Wed Feb 5 16:08:09 CET 2014

Le septidi 17 pluviôse, an CCXXII, Michael Niedermayer a écrit :
> i think this should rather search for a stream with similar
> AV_DISPOSITION*IMPAIRED in relation to the reference stream
> than just pick the reference as a special case

I believe you are confusing wanted_stream_nb (a stream index that comes from
the user) with related_stream (a stream index to help pick, for example, the
audio from the same program as the video). Preferences from the user should
be accepted.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140205/3f921b7d/attachment.asc>

More information about the ffmpeg-devel mailing list