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.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29559 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-08-27 13:20:21 +00:00
parent e18b64611c
commit 16c2a6660a
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
vo_dheight = r.bottom; vo_dheight = r.bottom;
break; break;
case WM_WINDOWPOSCHANGING: case WM_WINDOWPOSCHANGING:
if (vo_keepaspect && !vo_fs) { if (vo_keepaspect && !vo_fs && WinID < 0) {
WINDOWPOS *wpos = lParam; WINDOWPOS *wpos = lParam;
int xborder, yborder; int xborder, yborder;
r.left = r.top = 0; r.left = r.top = 0;