Commit e01621b2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

legacy OSX intf: correctly adapt vout window's size to video content

parent 4647e341
...@@ -962,7 +962,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -962,7 +962,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if ([o_window isVisible] && (![o_window isFullscreen])) if ([o_window isVisible] && (![o_window isFullscreen]))
[o_window makeKeyAndOrderFront: self]; [o_window makeKeyAndOrderFront: self];
if ( [self window] != o_embeddedwindow )
[self scaleWindowWithFactor: 1.0 animate: [o_window isVisible] && (![o_window isFullscreen])]; [self scaleWindowWithFactor: 1.0 animate: [o_window isVisible] && (![o_window isFullscreen])];
[o_embeddedwindow setVideoRatio:[self voutSizeForFactor:1.0]]; [o_embeddedwindow setVideoRatio:[self voutSizeForFactor:1.0]];
......
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