[MPlayer-dev-eng] [PATCH] add lavfpref demuxer for formats where lavf is preferred over native demuxers

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Apr 8 10:40:24 CEST 2007

On Sun, Apr 08, 2007 at 02:20:28AM +0300, Oded Shimon wrote:
> On Sat, Apr 07, 2007 at 08:16:28PM +0200, Reimar D?ffinger wrote:
> > wanted to do this since a long time.
> > It is a demuxer that does almost the same as the normal lavf one, only
> > that it only accepts some formats and is tested much earlier.
> > Does it look okay?
> > I also removed a few entries from extension.c that should not be needed
> > anymore.
> [...]
> > +static const char *preferred_list[] = {
> > +    "dxa",
> > +    "wv",
> > +    "nuv",
> > +    "nut",
> Does this mean that the lavf NUT demuxer would be preffered over the 
> libnut one? Because AFAIK, the libnut demuxer is superior to the lavf nut 
> demuxer, so it should have priority...

Since they both have the same short name there is no way to distinguish
them, so it will use whichever lavf selects. It will always use one from
libavformat and not from libmpdemux though.
Basically it should do the same as the current
just that it is not extension but content-based...

Reimar Döffinger

More information about the MPlayer-dev-eng mailing list