vlc/vlc-2.0 | branch: master | David Fuhrmann <[email protected]> | Tue Feb 14 08:28:31 2012 +0100| [c2982d200ec065fe642b05c32bf50878ac5f97a7] | committer: Felix Paul Kühne
macosx vout: update display after crop / ar even if "macosx-video-autoresize" is false Signed-off-by: Felix Paul Kühne <[email protected]> (cherry picked from commit e6d4348b075ff923f03c82a35925f8410daa70ca) > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=c2982d200ec065fe642b05c32bf50878ac5f97a7 --- modules/video_output/macosx.m | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m index ae064a9..9100d98 100644 --- a/modules/video_output/macosx.m +++ b/modules/video_output/macosx.m @@ -337,11 +337,12 @@ static int Control (vout_display_t *vd, int query, va_list ap) return VLC_SUCCESS; case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE: { + // is needed in the case we do not an actual resize + [sys->glView performSelectorOnMainThread:@selector(reshapeView:) withObject:nil waitUntilDone:NO]; + if (!config_GetInt( vd, "macosx-video-autoresize" )) return VLC_SUCCESS; - [sys->glView performSelectorOnMainThread:@selector(reshapeView:) withObject:nil waitUntilDone:NO]; - NSAutoreleasePool * o_pool = [[NSAutoreleasePool alloc] init]; NSPoint topleftbase; NSPoint topleftscreen; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
