summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-13 13:15:40 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-13 13:15:40 +0000
commitb6a7934eb5ae4d2bbf435aca79a51ffa4b8ff6c3 (patch)
tree1749ec73ed03b2746589ab8bb73cf7c6cea8349d /libvo/video_out.c
parent927c55fb02d927e45b0f41580f822ec28404442b (diff)
downloadmpv-b6a7934eb5ae4d2bbf435aca79a51ffa4b8ff6c3.tar.bz2
mpv-b6a7934eb5ae4d2bbf435aca79a51ffa4b8ff6c3.tar.xz
Initial support for dxr2. Based on patch from Tobias Diedrich <ranma@gmx.at>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6070 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index f681a43bc9..3a15467771 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -99,6 +99,9 @@ extern vo_functions_t video_out_ggi;
extern vo_functions_t video_out_aa;
extern vo_functions_t video_out_mpegpes;
extern vo_functions_t video_out_yuv4mpeg;
+#ifdef HAVE_DXR2
+extern vo_functions_t video_out_dxr2;
+#endif
extern vo_functions_t video_out_dxr3;
#ifdef HAVE_JPEG
extern vo_functions_t video_out_jpeg;
@@ -160,6 +163,9 @@ vo_functions_t* video_out_drivers[] =
#ifdef HAVE_AA
&video_out_aa,
#endif
+#ifdef HAVE_DXR2
+ &video_out_dxr2,
+#endif
#ifdef HAVE_DXR3
&video_out_dxr3,
#endif
@@ -193,3 +199,13 @@ vo_functions_t* video_out_drivers[] =
#endif
NULL
};
+
+#ifdef HAVE_DXR2
+extern void vo_dxr2_register_options(void*);
+#endif
+
+void libvo_register_options(void* cfg) {
+#ifdef HAVE_DXR2
+ vo_dxr2_register_options(cfg);
+#endif
+}