diff options
author | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-26 16:33:28 +0000 |
---|---|---|
committer | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-26 16:33:28 +0000 |
commit | b9bd2fc3736471c7a91be4da66a8da8ac1610aa3 (patch) | |
tree | e28f6a7b1a7d8837a3ffa1651c3db1ca13613735 /libvo/vo_macosx.m | |
parent | 3cfef5555782d3e7ab8042570f47787405a05cc0 (diff) | |
download | mpv-b9bd2fc3736471c7a91be4da66a8da8ac1610aa3.tar.bz2 mpv-b9bd2fc3736471c7a91be4da66a8da8ac1610aa3.tar.xz |
Fix pan-scan in fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15574 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_macosx.m')
-rw-r--r-- | libvo/vo_macosx.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 3a7ccdfec2..28513f7f9f 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -666,6 +666,8 @@ static uint32_t control(uint32_t request, void *data, ...) static NSRect old_view_frame; NSRect device_rect = [[window screen] frame]; + panscan_calc(); + //go fullscreen if(vo_fs) { @@ -677,7 +679,6 @@ static uint32_t control(uint32_t request, void *data, ...) mouseHide = YES; } - panscan_calc(); old_frame = [window frame]; //save main window size & position [window setFrame:device_rect display:YES animate:animate]; //zoom-in window with nice useless sfx old_view_frame = [self bounds]; |