Commit e6d4348b authored by David Fuhrmann's avatar David Fuhrmann Committed by Felix Paul Kühne

macosx vout: update display after crop / ar even if "macosx-video-autoresize" is false

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 4e43f2c8
...@@ -337,11 +337,12 @@ static int Control (vout_display_t *vd, int query, va_list ap) ...@@ -337,11 +337,12 @@ static int Control (vout_display_t *vd, int query, va_list ap)
return VLC_SUCCESS; return VLC_SUCCESS;
case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE: 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" )) if (!config_GetInt( vd, "macosx-video-autoresize" ))
return VLC_SUCCESS; return VLC_SUCCESS;
[sys->glView performSelectorOnMainThread:@selector(reshapeView:) withObject:nil waitUntilDone:NO];
NSAutoreleasePool * o_pool = [[NSAutoreleasePool alloc] init]; NSAutoreleasePool * o_pool = [[NSAutoreleasePool alloc] init];
NSPoint topleftbase; NSPoint topleftbase;
NSPoint topleftscreen; NSPoint topleftscreen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment