summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-05 00:17:27 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-05 00:17:27 +0000
commit6516ffdb7da37363c91ad9267121682774617b04 (patch)
tree1faa08fc03a82d2d6cfe959374ac134ca38b3356 /libvo
parent97ce3e88b809651535d0f1650dc997e76569b196 (diff)
downloadmpv-6516ffdb7da37363c91ad9267121682774617b04.tar.bz2
mpv-6516ffdb7da37363c91ad9267121682774617b04.tar.xz
do not define video_out_macosx if corevideo is not present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15348 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 06de9dabed..8f72095460 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -121,7 +121,9 @@ extern vo_functions_t video_out_tdfx_vid;
extern vo_functions_t video_out_tga;
#endif
#ifdef MACOSX
+#ifdef MACOSX_COREVIDEO
extern vo_functions_t video_out_macosx;
+#endif
extern vo_functions_t video_out_quartz;
#endif
#ifdef HAVE_PNM
@@ -140,7 +142,9 @@ vo_functions_t* video_out_drivers[] =
&video_out_directx,
#endif
#ifdef MACOSX
+#ifdef MACOSX_COREVIDEO
&video_out_macosx,
+#endif
&video_out_quartz,
#endif
#ifdef HAVE_XMGA