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

Michael Niedermayer michaelni
Sun Jan 20 17:55:16 CET 2008


On Sun, Jan 20, 2008 at 06:31:18PM +0200, Uoti Urpala wrote:
> On Sun, 2008-01-20 at 17:22 +0100, Michael Niedermayer wrote:
> > 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
> > table
> > this should work with mime types too ...
> 
> This would require limiting the allowed MIME types somehow. The file
> could have arbitrary "application/x-myprogram" MIME types. The Debian
> file /etc/mime.types which lists known types is 753 lines long (not
> every line is a separate type but most are). Would you support at least
> all those in the table? Or which subset?

As ive said the codec_tag system could be extended to handle abitrary
strings if that is needed ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- 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/46b07b09/attachment.pgp>



More information about the ffmpeg-devel mailing list