[MPlayer-cygwin] Re: vo_directx: no triple buffering with certain videos [followup]

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Feb 28 12:43:48 CET 2007


Hello,
On Fri, Jan 19, 2007 at 03:06:17PM +0100, Frank Aurich wrote:
> ATi drivers do not support OpenGL yet on Vista, so that unfortunately is 
> not an option right now.

Are you sure? Doesn't it just disable Aero? In that case you might try
attached patch, I'd like to know if it helps.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libvo/w32_common.c
===================================================================
--- libvo/w32_common.c	(revision 22374)
+++ libvo/w32_common.c	(working copy)
@@ -8,6 +8,9 @@
 #include "video_out.h"
 #include "aspect.h"
 #include "w32_common.h"
+#ifndef PFD_SUPPORT_COMPOSITION
+#define PFD_SUPPORT_COMPOSITION 0x00008000
+#endif
 
 extern void mplayer_put_key(int code);
 
@@ -279,7 +284,7 @@
     memset(&pfd, 0, sizeof pfd);
     pfd.nSize = sizeof pfd;
     pfd.nVersion = 1;
-    pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER;
+    pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER | PFD_SUPPORT_COMPOSITION;
     pfd.iPixelType = PFD_TYPE_RGBA;
     pfd.cColorBits = 24;
     pfd.iLayerType = PFD_MAIN_PLANE;


More information about the MPlayer-cygwin mailing list