[FFmpeg-devel] [PATCH] Add default stream flag
Fri Feb 29 00:26:36 CET 2008
On Thursday 28 February 2008 23:49:15 Michael Niedermayer wrote:
> On Thu, Feb 28, 2008 at 11:24:22PM +0300, Evgeniy Stepanov wrote:
> > 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.
> nut of course ...
> > 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 ?
> This is better, but please call it int disposition; with
Here. Both matroska and nut supported (I invented new disposition 'default'
for nut, it is not in the spec). In ffmpeg.c, disposition is copied from ist
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7896 bytes
Desc: not available
More information about the ffmpeg-devel