summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-02 17:38:11 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-02 17:38:11 +0000
commite588ab056dba6560ad4236ed21c38390b066e43b (patch)
tree98c1d121d9b8a381bee7f250fc60d4312a93058a /libvo
parent7d6022deba055ec45f78c1fd91e827c175d2af48 (diff)
downloadmpv-e588ab056dba6560ad4236ed21c38390b066e43b.tar.bz2
mpv-e588ab056dba6560ad4236ed21c38390b066e43b.tar.xz
Change a bunch of video-output-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.c46
-rw-r--r--libvo/video_out.h4
-rw-r--r--libvo/vo_ggi.c14
3 files changed, 32 insertions, 32 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 5496eeb59a..fccc085c21 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -115,13 +115,13 @@ extern vo_functions_t video_out_md5sum;
const vo_functions_t* const video_out_drivers[] =
{
-#ifdef HAVE_XVR100
+#ifdef CONFIG_XVR100
&video_out_xvr100,
#endif
-#ifdef HAVE_TDFX_VID
+#ifdef CONFIG_TDFX_VID
&video_out_tdfx_vid,
#endif
-#ifdef HAVE_DIRECTX
+#ifdef CONFIG_DIRECTX
&video_out_directx,
#endif
#ifdef HAVE_COREVIDEO
@@ -130,19 +130,19 @@ const vo_functions_t* const video_out_drivers[] =
#ifdef HAVE_QUARTZ
&video_out_quartz,
#endif
-#ifdef HAVE_XMGA
+#ifdef CONFIG_XMGA
&video_out_xmga,
#endif
-#ifdef HAVE_MGA
+#ifdef CONFIG_MGA
&video_out_mga,
#endif
-#ifdef HAVE_TDFXFB
+#ifdef CONFIG_TDFXFB
&video_out_tdfxfb,
#endif
-#ifdef HAVE_S3FB
+#ifdef CONFIG_S3FB
&video_out_s3fb,
#endif
-#ifdef HAVE_3DFX
+#ifdef CONFIG_3DFX
&video_out_3dfx,
#endif
#ifdef HAVE_XV
@@ -152,30 +152,30 @@ const vo_functions_t* const video_out_drivers[] =
&video_out_x11,
&video_out_xover,
#endif
-#ifdef HAVE_GL
+#ifdef CONFIG_GL
&video_out_gl,
&video_out_gl2,
#endif
#ifdef HAVE_DGA
&video_out_dga,
#endif
-#ifdef HAVE_SDL
+#ifdef CONFIG_SDL
&video_out_sdl,
#endif
-#ifdef HAVE_GGI
+#ifdef CONFIG_GGI
&video_out_ggi,
#endif
-#ifdef HAVE_FBDEV
+#ifdef CONFIG_FBDEV
&video_out_fbdev,
&video_out_fbdev2,
#endif
-#ifdef HAVE_SVGALIB
+#ifdef CONFIG_SVGALIB
&video_out_svga,
#endif
-#ifdef HAVE_AA
+#ifdef CONFIG_AA
&video_out_aa,
#endif
-#ifdef HAVE_CACA
+#ifdef CONFIG_CACA
&video_out_caca,
#endif
#ifdef HAVE_DXR2
@@ -194,16 +194,16 @@ const vo_functions_t* const video_out_drivers[] =
&video_out_zr,
&video_out_zr2,
#endif
-#ifdef HAVE_BL
+#ifdef CONFIG_BL
&video_out_bl,
#endif
-#ifdef HAVE_VESA
+#ifdef CONFIG_VESA
&video_out_vesa,
#endif
-#ifdef HAVE_DIRECTFB
+#ifdef CONFIG_DIRECTFB
&video_out_directfb,
#endif
-#ifdef HAVE_DFBMGA
+#ifdef CONFIG_DFBMGA
&video_out_dfbmga,
#endif
#ifdef CONFIG_VIDIX
@@ -221,7 +221,7 @@ const vo_functions_t* const video_out_drivers[] =
&video_out_xvmc,
#endif
&video_out_mpegpes,
-#ifdef HAVE_YUV4MPEG
+#ifdef CONFIG_YUV4MPEG
&video_out_yuv4mpeg,
#endif
#ifdef HAVE_PNG
@@ -233,13 +233,13 @@ const vo_functions_t* const video_out_drivers[] =
#ifdef HAVE_GIF
&video_out_gif89a,
#endif
-#ifdef HAVE_TGA
+#ifdef CONFIG_TGA
&video_out_tga,
#endif
#ifdef HAVE_PNM
&video_out_pnm,
#endif
-#ifdef HAVE_MD5SUM
+#ifdef CONFIG_MD5SUM
&video_out_md5sum,
#endif
NULL
@@ -320,7 +320,7 @@ int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height,
return vo->config(width, height, d_width, d_height, flags, title, format);
}
-#if defined(HAVE_FBDEV)||defined(HAVE_VESA)
+#if defined(CONFIG_FBDEV) || defined(CONFIG_VESA)
/* Borrowed from vo_fbdev.c
Monitor ranges related functions*/
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 48799c484d..d5a12acdcf 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -239,7 +239,7 @@ extern int vo_colorkey;
extern int WinID;
-#if defined(HAVE_FBDEV) || defined(HAVE_VESA)
+#if defined(CONFIG_FBDEV) || defined(CONFIG_VESA)
typedef struct {
float min;
@@ -253,6 +253,6 @@ extern char *monitor_hfreq_str;
extern char *monitor_vfreq_str;
extern char *monitor_dotclock_str;
-#endif /* defined(HAVE_FBDEV) || defined(HAVE_VESA) */
+#endif /* defined(CONFIG_FBDEV) || defined(CONFIG_VESA) */
#endif /* MPLAYER_VIDEO_OUT_H */
diff --git a/libvo/vo_ggi.c b/libvo/vo_ggi.c
index 43d0567b28..4ff1f40299 100644
--- a/libvo/vo_ggi.c
+++ b/libvo/vo_ggi.c
@@ -29,7 +29,7 @@
#include <ggi/ggi.h>
-#ifdef HAVE_GGIWMH
+#ifdef CONFIG_GGIWMH
#include <ggi/wmh.h>
#endif
@@ -70,7 +70,7 @@ static struct ggi_conf_s {
} ggi_conf;
-#ifdef HAVE_GGIWMH
+#ifdef CONFIG_GGIWMH
static void window_ontop(void)
{
mp_msg(MSGT_VO, MSGL_V, "[ggi] debug: window_ontop() called\n");
@@ -161,7 +161,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
#endif
-#ifdef HAVE_GGIWMH
+#ifdef CONFIG_GGIWMH
ggiWmhSetTitle(ggi_conf.vis, title);
if (vo_ontop) window_ontop();
#endif
@@ -395,7 +395,7 @@ static int preinit(const char *arg)
mp_msg(MSGT_VO, MSGL_FATAL, "[ggi] unable to initialize GGI\n");
return -1;
}
-#ifdef HAVE_GGIWMH
+#ifdef CONFIG_GGIWMH
if (ggiWmhInit() < 0) {
mp_msg(MSGT_VO, MSGL_FATAL, "[ggi] unable to initialize libggiwmh\n");
return -1;
@@ -424,7 +424,7 @@ static int preinit(const char *arg)
ggi_conf.drawvis = ggi_conf.vis;
-#ifdef HAVE_GGIWMH
+#ifdef CONFIG_GGIWMH
ggiWmhAttach(ggi_conf.vis);
#endif
@@ -440,7 +440,7 @@ static void uninit(void)
if (ggi_conf.driver)
free(ggi_conf.driver);
-#ifdef HAVE_GGIWMH
+#ifdef CONFIG_GGIWMH
ggiWmhDetach(ggi_conf.vis);
ggiWmhExit();
#endif
@@ -459,7 +459,7 @@ static int control(uint32_t request, void *data, ...)
return query_format(*((uint32_t *) data));
case VOCTRL_GET_IMAGE:
return get_image(data);
-#ifdef HAVE_GGIWMH
+#ifdef CONFIG_GGIWMH
case VOCTRL_ONTOP:
vo_ontop = (!(vo_ontop));
window_ontop();