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

Corey Hickey bugfood-ml at fatooh.org
Fri Sep 22 00:51:20 CEST 2006


Gianluigi Tiesi wrote:
> 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.

Ah! Well then, that's nice. Good thing I didn't try to port vo_caca 
myself--I was thinking of doing so yesterday evening. :)

I can't test that patch right now, but if it works, is there any reason 
to hold off on applying it? It looks like nobody reviewed the patch when 
it was sent:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-August/045423.html
I don't really have the know-how to give it a proper review myself, but 
if nobody does by next week (when I may have time) I'll at least read it 
and do some thorough testing.

-Corey



More information about the MPlayer-dev-eng mailing list