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

Michael Niedermayer michaelni at gmx.at
Wed Feb 5 17:53:22 CET 2014


On Wed, Feb 05, 2014 at 04:08:09PM +0100, Nicolas George wrote:
> 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.

thats true, i mixed them up
patch applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140205/3bac7adf/attachment.asc>


More information about the ffmpeg-devel mailing list