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

reimar subversion at mplayerhq.hu
Thu Aug 27 15:20:21 CEST 2009


Author: reimar
Date: Thu Aug 27 15:20:21 2009
New Revision: 29559

Log:
Disable -keepaspect with -wid in w32_common code.
This does not work in a useful way and was unintentionally "enabled"
when -wid was made to use a separate window.

Modified:
   trunk/libvo/w32_common.c

Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c	Thu Aug 27 14:38:22 2009	(r29558)
+++ trunk/libvo/w32_common.c	Thu Aug 27 15:20:21 2009	(r29559)
@@ -106,7 +106,7 @@ static LRESULT CALLBACK WndProc(HWND hWn
             vo_dheight = r.bottom;
             break;
         case WM_WINDOWPOSCHANGING:
-            if (vo_keepaspect && !vo_fs) {
+            if (vo_keepaspect && !vo_fs && WinID < 0) {
               WINDOWPOS *wpos = lParam;
               int xborder, yborder;
               r.left = r.top = 0;


More information about the MPlayer-cvslog mailing list