[MPlayer-dev-eng] about libvo... IMPORTANT
Fredrik Kuivinen
freku045 at student.liu.se
Tue Mar 19 16:46:48 CET 2002
On Tue, Mar 19, 2002 at 12:27:44AM +0100, Arpi wrote:
> Hi,
>
> > > So, the flow of libvo calls _NOW_:
> > >
> > > 1. preinit() - once before all other calls
> > > 2. control() calls, especialy query_format()
> > > 3. config() - 0, 1, 2 or more times called
> >
> > What is config supposed to return? Most (all?) libvo drivers seems to assume
> > that -1 is a failure and 0 is success. libmpcodecs seems to assume that 0 is
> > a
> > failure and anything else is success.
>
> yes, it's a design issue...
> 0=fail 1=ok everywhere except libvo...
>
So... What are we going to do about it? Changing all the libvo drivers or
changing all the codecs? Currently I get sigsegv if the libvo driver
initialization fails because mplayer tries to use it even though it isn't
initialized correctly. (at least with xv and sdl)
/ Fredrik Kuivinen
More information about the MPlayer-dev-eng
mailing list