changeset 29517:a2617c70b295

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.
author reimar
date Thu, 27 Aug 2009 13:20:21 +0000
parents 87897065b7d7
children 24b40e352024
files libvo/w32_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/w32_common.c	Thu Aug 27 12:38:22 2009 +0000
+++ b/libvo/w32_common.c	Thu Aug 27 13:20:21 2009 +0000
@@ -106,7 +106,7 @@
             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;