sdl_driver liquidated, vo_subdevice used

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1189 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
al3x 2001-06-21 22:47:55 +00:00
parent 46167fd965
commit 754186ccc5
1 changed files with 1 additions and 2 deletions

View File

@ -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);