Skip to content
Snippets Groups Projects
Commit be8909be authored by dilaroga's avatar dilaroga Committed by Pierre
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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]];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment