CVS: main/libvo vo_sdl.c,1.12,1.13
Update of /cvsroot/mplayer/main/libvo In directory usw-pr-cvs1:/tmp/cvs-serv6770 Modified Files: vo_sdl.c Log Message: - added some defines to modify some sdl-out internas (see comments) Index: vo_sdl.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_sdl.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** vo_sdl.c 2001/04/13 13:00:07 1.12 --- vo_sdl.c 2001/04/13 21:04:13 1.13 *************** *** 68,71 **** --- 68,72 ---- * Felix Buenemann <Atmosfear@users.sourceforge.net> - April 13, 2001 * - added keymapping to toggle OSD ('o' key) + * - added some defines to modify some sdl-out internas (see comments) */ *************** *** 86,91 **** //#define LOG if(0)printf ! /* Uncomment if you want to force Xv SDL output? */ ! /* #define SDL_FORCEXV */ static vo_info_t vo_info = --- 87,96 ---- //#define LOG if(0)printf ! /* define if you want to force Xv SDL output? */ ! #undef SDL_FORCEXV ! /* define to force software-surface (video surface stored in system memory)*/ ! #undef SDL_NOHWSURFACE ! /* define to disable usage of the xvideo extension */ ! #undef SDL_NOXV static vo_info_t vo_info = *************** *** 194,203 **** setenv("SDL_VIDEO_X11_NODIRECTCOLOR", "1", 1); #endif /* default to no fullscreen mode, we'll set this as soon we have the avail. modes */ priv->fullmode = -2; /* other default values */ ! priv->sdlflags = SDL_HWSURFACE|SDL_RESIZABLE|SDL_ASYNCBLIT; ! priv->sdlfullflags = SDL_HWSURFACE|SDL_FULLSCREEN|SDL_DOUBLEBUF|SDL_ASYNCBLIT; priv->surface = NULL; priv->overlay = NULL; --- 199,218 ---- setenv("SDL_VIDEO_X11_NODIRECTCOLOR", "1", 1); #endif + #ifdef SDL_NOXV + setenv("SDL_VIDEO_YUV_HWACCEL", "0", 1); + #endif /* default to no fullscreen mode, we'll set this as soon we have the avail. modes */ priv->fullmode = -2; /* other default values */ ! #ifdef SDL_NOHWSURFACE ! printf("SDL: using software-surface\n"); ! priv->sdlflags = SDL_SWSURFACE|SDL_RESIZABLE|SDL_ASYNCBLIT; ! priv->sdlfullflags = SDL_SWSURFACE|SDL_FULLSCREEN|SDL_DOUBLEBUF|SDL_ASYNCBLIT; ! #else ! printf("SDL: using hardware-surface\n"); ! priv->sdlflags = SDL_HWSURFACE|SDL_RESIZABLE|SDL_ASYNCBLIT; //SDL_HWACCEL ! priv->sdlfullflags = SDL_HWSURFACE|SDL_FULLSCREEN|SDL_DOUBLEBUF|SDL_ASYNCBLIT; //SDL_HWACCEL ! #endif priv->surface = NULL; priv->overlay = NULL; _______________________________________________ Mplayer-cvslog mailing list Mplayer-cvslog@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
participants (1)
-
Felix Buenemann