comparison libvo/vo_caca.c @ 19979:0dc175cbeed8

vo_caca: use the pre-1.x compatibility layer so recent versions of libcaca still work.
author corey
date Tue, 26 Sep 2006 23:43:21 +0000
parents 75327b24e06f
children ad7747bce52d
comparison
equal deleted inserted replaced
19978:f04afca36cf4 19979:0dc175cbeed8
26 26
27 #include "osdep/keycodes.h" 27 #include "osdep/keycodes.h"
28 #include "mp_msg.h" 28 #include "mp_msg.h"
29 29
30 #include <caca.h> 30 #include <caca.h>
31 #ifdef CACA_API_VERSION_1
32 /* Include the pre-1.x compatibility header.
33 * Once libcaca 1.x is widespread, vo_caca should be fully
34 * converted to the new API. A patch exists:
35 * http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-July/044674.html
36 */
37 #include <caca0.h>
38 #endif
31 39
32 static vo_info_t info = { 40 static vo_info_t info = {
33 "libcaca", 41 "libcaca",
34 "caca", 42 "caca",
35 "Pigeon <pigeon@pigeond.net>", 43 "Pigeon <pigeon@pigeond.net>",