[FFmpeg-devel] [PATCH] use new metadata API in nut

Aurelien Jacobs aurel
Sat Feb 28 00:14:12 CET 2009


Michael Niedermayer wrote:

> On Thu, Feb 26, 2009 at 11:55:36PM +0100, Aurelien Jacobs wrote:
> > Hi,
> > 
> > nut is the last (de)muxer to still use the old metadata API. So attached
> > patch converts it. A few things to note:
> >   - The demuxer don't export the following tags: "Uses","Depends","Replaces"
> >     This is intended, because those values have no meaning outside the
> >     nut demuxer itself.
> >   - The muxer is only a straight conversion of current muxer, which will
> >     thus only mux "Title", "Author" and "Copyright".
> >     I intend to support generic tag muxing in the future, but this requires
> >     some more work to get it right, so it will have to wait a bit more.
> >     (it requires checking the validity of keys and values to decide if
> >     it's an official tag or a non-standard one requiring a "X-" prefix)
> 
> you could just always add "X-" on muxing, then you dont need to do any
> checks

That would indeed be possible. But this would be slightly less useful than
correctly muxing spec defined tags. I will try to do this properly later.

> and patch ok

Applied.

Aurel




More information about the ffmpeg-devel mailing list