[FFmpeg-devel] [PATCH] Add default stream flag
Michael Niedermayer
michaelni
Thu Feb 28 21:49:15 CET 2008
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
AV_DISPOSITION_DEFAULT
AV_DISPOSITION_DUB
AV_DISPOSITION_ORIGINAL
AV_DISPOSITION_COMMENT
AV_DISPOSITION_LYRICS
AV_DISPOSITION_KARAOKE
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- 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/20080228/1b2e3318/attachment.pgp>
More information about the ffmpeg-devel
mailing list