[MPlayer-dev-eng] [PATCH] make vo_caca work with newer libcaca

Gianluigi Tiesi mplayer at netfarm.it
Thu Sep 21 20:48:22 CEST 2006


On Thu, Sep 21, 2006 at 11:40:53AM -0700, Corey Hickey wrote:
> Hello,
> 
> 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.
> 
> -Corey

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.

Bye

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the MPlayer-dev-eng mailing list