summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoral3x <al3x@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-21 22:47:55 +0000
committeral3x <al3x@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-21 22:47:55 +0000
commit754186ccc50ddc67de791ec6e8e3b25566dd49fa (patch)
tree5b4ae86e571b27a185a88f0615a5353792afbf83 /libvo
parent46167fd9652013843e30831ebf7b1e94a5480557 (diff)
downloadmpv-754186ccc50ddc67de791ec6e8e3b25566dd49fa.tar.bz2
mpv-754186ccc50ddc67de791ec6e8e3b25566dd49fa.tar.xz
sdl_driver liquidated, vo_subdevice used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1189 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_sdl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c
index 92e71416a6..3a6e1ff4bc 100644
--- a/libvo/vo_sdl.c
+++ b/libvo/vo_sdl.c
@@ -124,7 +124,6 @@
LIBVO_EXTERN(sdl)
extern int verbose;
-char *sdl_driver;
int sdl_noxv;
int sdl_forcexv;
@@ -335,7 +334,7 @@ static int sdl_open (void *plugin, void *name)
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);