[FFmpeg-devel] [PATCH] attachments support in matroska demuxer

Michael Niedermayer michaelni
Sun Jan 20 17:22:00 CET 2008

On Sun, Jan 20, 2008 at 04:06:31PM +0000, M?ns Rullg?rd wrote:
> Baptiste Coudurier <baptiste.coudurier at smartjog.com> writes:
> > I think I would agree to set codec_tag to mime type if it is the way to
> > detect types of attachment in matroska, this is IMHO in line with the
> > API and the use of codec_tag.
> codec_tag is an "unsigned int".  How would you set that to a MIME
> type, which is a string?

well ...

the original idea was that codec identifers would either fit in an int
or a demuxer would have a table of identifiers, it needs one anyway to
set codec_id, and in that case codec_tag could be a index into that
this should work with mime types too ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- 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/20080120/1164367a/attachment.pgp>

More information about the ffmpeg-devel mailing list