[FFmpeg-devel] [PATCH] Add default stream flag

Evgeniy Stepanov eugeni.stepanov
Thu Feb 28 21:24:22 CET 2008


Hi,

this patch adds 'default_stream' flag to AVStream. Streams marked as default 
are to be selected for playback (or whatever else) if the user does not have 
any other preference (like language, or an exact stream id).

This patch adds support for such streams in matroska muxer and demuxer. I 
don't know if there is similar functionality in other containers.

Is there a better place to put this information, without adding a new member 
to AVStream ? Maybe add an AVStream.flags with one bit of it occupied by 
default_stream flag ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default-stream.patch
Type: text/x-diff
Size: 1643 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080228/8312f1d9/attachment.patch>



More information about the ffmpeg-devel mailing list