[MPlayer-dev-eng] [PATCH] make vo_caca work with newer libcaca
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Sep 22 10:55:52 CEST 2006
Hello,
On Thu, Sep 21, 2006 at 08:48:22PM +0200, Gianluigi Tiesi wrote:
> On Thu, Sep 21, 2006 at 11:40:53AM -0700, Corey Hickey wrote:
> > MPlayer's vo_caca was written for libcaca 0.x. libcaca 1.0 will have a
> > different API, but it includes a compatibility header. The attached
> > patch makes mplayer include that header so vo_caca will work with recent
> > libcaca betas (tested with 0.99beta4).
> >
> > See:
> > http://sam.zoy.org/libcaca/doc/migrating.html
> >
> > Eventually (maybe sometime after libcaca 1.0 is released) vo_caca could
> > be rewritten to use the 1.0 API, but I don't see any pressing need to
> > start on that now.
> >
> > This patch is very simple, so, if nobody objects, I'll apply it in one day.
>
> There is already a patch that works with new api (not mine)
> I splitted it in 2 files like for alsa:
> http://oss.netfarm.it/mplayer/patches/xx_libcaca_split.diff
> this replaces current vo_caca with new one and puts old in vo_caca9.c
> for a minor size patch you must rename the old in vo_caca9.c and
> add the new as vo_caca.c or change the configure patch
> to do it in a different way.
> The patch works is also tested on win32.
I personally would prefer the much simpler patch instead of (as I see
it) needlessly creating another vo. Unless we in some way can profit
from the new API (does it have new features we would want?)
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list