Commit 4bec749d authored by David Fuhrmann's avatar David Fuhrmann

macosx: do not enforce AR if video view is hidden

parent c88cf59b
...@@ -576,6 +576,9 @@ ...@@ -576,6 +576,9 @@
if (b_in_fullscreen_transition || [self fullscreen]) if (b_in_fullscreen_transition || [self fullscreen])
return proposedFrameSize; return proposedFrameSize;
if ([o_video_view isHidden])
return proposedFrameSize;
if ([[VLCCoreInteraction sharedInstance] aspectRatioIsLocked]) { if ([[VLCCoreInteraction sharedInstance] aspectRatioIsLocked]) {
NSRect videoWindowFrame = [self frame]; NSRect videoWindowFrame = [self frame];
NSRect viewRect = [o_video_view convertRect:[o_video_view bounds] toView: nil]; NSRect viewRect = [o_video_view convertRect:[o_video_view bounds] toView: nil];
......
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