From e48b21dd87468245268c470b250c3cdd5a1bbfae Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 2 Aug 2012 21:28:59 +0200 Subject: VO: remove VO direct rendering This was disabled by default, and could be enabled with -dr. It was disabled by default because it was buggy: there were issues with OSD corruption. It wasn't entirely sane for OpenGL based VOs either. OpenGL can chose to drop mapped pixel buffer objects, requiring the application to map and fill the buffer again. But there was no mechanism in mplayer to fill the lost buffer again. (It seems this rarely happened in practice, though.) On the other side, users liked the --dr flag, because it promised them more speed. I'm not sure if it actually helped with speed, but it's unlikely it had any real advantages on modern systems. In order to evade the --dr cargo culting in mplayer config files, it's best to get rid of it. --- libvo/video_out.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libvo/video_out.c') diff --git a/libvo/video_out.c b/libvo/video_out.c index 1063876640..d2c2f439df 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -66,7 +66,6 @@ int vo_pts=0; // for hw decoding float vo_fps=0; char *vo_subdevice = NULL; -int vo_directrendering=0; int vo_colorkey = 0x0000ff00; // default colorkey is green // (0xff000000 means that colorkey has been disabled) -- cgit v1.2.3