diff options
author | wm4 <wm4@nowhere> | 2014-10-04 22:17:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-04 22:17:36 +0200 |
commit | bd169a313c795652a27a6f20d81f6e6507b79e06 (patch) | |
tree | 502ed7e8d16b7cdfb3067601627c1c325803ab36 /video/out/w32_common.c | |
parent | 1651d96583422d7e991ad5fde7c61ea3a89d2366 (diff) | |
download | mpv-bd169a313c795652a27a6f20d81f6e6507b79e06.tar.bz2 mpv-bd169a313c795652a27a6f20d81f6e6507b79e06.tar.xz |
options: add --no-keepaspect-window
Seems silly, but was requested.
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r-- | video/out/w32_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 3fcfc6d969..addc46bf0e 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -551,8 +551,8 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, break; } case WM_SIZING: - if (w32->opts->keepaspect && !w32->opts->fullscreen && - w32->opts->WinID < 0) + if (w32->opts->keepaspect && w32->opts->keepaspect_window && + !w32->opts->fullscreen && w32->opts->WinID < 0) { RECT *rc = (RECT*)lParam; // get client area of the windows if it had the rect rc |