changeset 14577:36fda489ed86

avoid using vo_subdevice
author alex
date Sat, 22 Jan 2005 18:05:07 +0000
parents b8093fff9fac
children 5f7fa0a7e4a8
files libvo/vo_sdl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Sat Jan 22 17:52:34 2005 +0000
+++ b/libvo/vo_sdl.c	Sat Jan 22 18:05:07 2005 +0000
@@ -1601,7 +1601,7 @@
 
     if(verbose > 2) printf("SDL: Opening Plugin\n");
 
-    if(vo_subdevice) setenv("SDL_VIDEODRIVER", vo_subdevice, 1);
+    if(arg) setenv("SDL_VIDEODRIVER", arg, 1);
 
     /* does the user want SDL to try and force Xv */
     if(sdl_forcexv)	setenv("SDL_VIDEO_X11_NODIRECTCOLOR", "1", 1);