vlc | branch: master | David Fuhrmann <[email protected]> | Tue Feb 14 08:28:31 2012 +0100| [e6d4348b075ff923f03c82a35925f8410daa70ca] | 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]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6d4348b075ff923f03c82a35925f8410daa70ca --- 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 0c9072f..97670d9 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
