[MPlayer-dev-eng]
Arpi
arpi at thot.banki.hu
Mon Jan 6 22:36:45 CET 2003
Hi,
> > ok, but we need really modular demuxer api for this...
> >
>
> Are there any specifications of new muxer/demuxer API?
hm
- be modular
- be good
- be clever
- be nice
- be fast
- be extensible
..
ok... not yet :)
my initial plans are changing the demuxer functions (except demux_XXX_open())
to function pointers in the demuxer_t struct, and let demux_XXX_open() to
fill them. so only the _open() would be public, others can be static.
(similar API to video filters, vf_*.c)
changing the current code to work this way is enough for basic extensibility
(by control() or new function pointers without changing all demuxers)
and modularity.
next step would be support for multi-level detection, runtime index
building, multiple audio (and video) streams at the same time etc...
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list