mirror of https://github.com/mpv-player/mpv
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:
parent
e18b64611c
commit
16c2a6660a
|
@ -106,7 +106,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue