summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2007-01-19 14:24:09 +0000
committerphintuka <phintuka>2007-01-19 14:24:09 +0000
commit3308d49ca81090b1a7cfa06926440923ec774be8 (patch)
tree65897b23b3e4e9ee4362079925b551a8e2827f3f
parentafdd3a881362d6cda82043f520c5e25ba932598f (diff)
downloadxineliboutput-3308d49ca81090b1a7cfa06926440923ec774be8.tar.gz
xineliboutput-3308d49ca81090b1a7cfa06926440923ec774be8.tar.bz2
dxr3 video output needs special visual types
-rw-r--r--xine_frontend.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index 3d6a0fdf..57e2841d 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.30 2007-01-14 18:41:29 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.31 2007-01-19 14:24:09 phintuka Exp $
*
*/
@@ -503,6 +503,16 @@ static int fe_xine_init(frontend_t *this_gen, const char *audio_driver,
video_driver,
XINE_VISUAL_TYPE_NONE,
NULL);
+ else if(video_driver && !strcmp(video_driver, "dxr3"))
+ this->video_port = xine_open_video_driver(this->xine,
+ video_driver,
+ XINE_VISUAL_TYPE_X11,
+ NULL);
+ else if(video_driver && !strcmp(video_driver, "aadxr3"))
+ this->video_port = xine_open_video_driver(this->xine,
+ video_driver,
+ XINE_VISUAL_TYPE_AA,
+ NULL);
else
this->video_port = xine_open_video_driver(this->xine,
video_driver,