changeset 1188:f0542c6a52c2

sdl_driver liquidated, vo_subdevice used
author al3x
date Thu, 21 Jun 2001 22:47:55 +0000
parents 9a8058213061
children 7c6bcb281966
files libvo/vo_sdl.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_sdl.c	Thu Jun 21 22:47:21 2001 +0000
+++ b/libvo/vo_sdl.c	Thu Jun 21 22:47:55 2001 +0000
@@ -124,7 +124,6 @@
 LIBVO_EXTERN(sdl)
 
 extern int verbose;
-char *sdl_driver;
 int sdl_noxv;
 int sdl_forcexv;
 
@@ -335,7 +334,7 @@
 
 	if(verbose > 2) printf("SDL: Opening Plugin\n");
 
-	if(sdl_driver) setenv("SDL_VIDEODRIVER", sdl_driver, 1);
+	if(vo_subdevice) setenv("SDL_VIDEODRIVER", vo_subdevice, 1);
 
 	/* does the user want SDL to try and force Xv */
 	if(sdl_forcexv)	setenv("SDL_VIDEO_X11_NODIRECTCOLOR", "1", 1);