Commit be8909be authored by Sebastien Zwickert's avatar Sebastien Zwickert Committed by Pierre d'Herbemont

gui/macosx: Do not automatically resize the video view by calling...

gui/macosx: Do not automatically resize the video view by calling scaleWindowWithFactor:animate: when it is embedded.
Signed-off-by: default avatarPierre d'Herbemont <pdherbemont@free.fr>
parent dabbedc6
......@@ -969,7 +969,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if ([o_window isVisible] && (![o_window isFullscreen]))
[o_window makeKeyAndOrderFront: self];
[self scaleWindowWithFactor: 1.0 animate: [o_window isVisible] && (![o_window isFullscreen])];
if ( [self window] != o_embeddedwindow )
[self scaleWindowWithFactor: 1.0 animate: [o_window isVisible] && (![o_window isFullscreen])];
[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