# HG changeset patch # User reimar # Date 1251379221 0 # Node ID a2617c70b29595c647a18da6dcc3dfbafbd8e49b # Parent 87897065b7d769679a2d3631642072834c8b3809 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. diff -r 87897065b7d7 -r a2617c70b295 libvo/w32_common.c --- 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;