[MPlayer-cvslog] r18953 - trunk/libvo/w32_common.c

reimar subversion at mplayerhq.hu
Sat Jul 8 16:57:25 CEST 2006


Author: reimar
Date: Sat Jul  8 16:57:25 2006
New Revision: 18953

Modified:
   trunk/libvo/w32_common.c

Log:
Do not fiddle (too much) with external (WinID) windows


Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c	(original)
+++ trunk/libvo/w32_common.c	Sat Jul  8 16:57:25 2006
@@ -232,6 +232,7 @@
     PIXELFORMATDESCRIPTOR pfd;
     RECT r;
     int pf;
+  if (WinID < 0) {
     int style = (vo_border && !vo_fs) ?
                 (WS_OVERLAPPEDWINDOW | WS_SIZEBOX) : WS_POPUP;
 
@@ -273,6 +274,7 @@
     r.bottom = r.top + vo_dheight;
     AdjustWindowRect(&r, style, 0);
     SetWindowPos(vo_window, layer, r.left, r.top, r.right - r.left, r.bottom - r.top, SWP_SHOWWINDOW);
+  }
 
     memset(&pfd, 0, sizeof pfd);
     pfd.nSize = sizeof pfd;



More information about the MPlayer-cvslog mailing list