From fc986201634c7f3f9dc1560c807d8d14b2e3fbed Mon Sep 17 00:00:00 2001 From: Claudio Cambra <developer@claudiocambra.com> Date: Sun, 15 Dec 2024 00:21:31 +0800 Subject: [PATCH] macosx: Do not hide video view controller view before applying view for selected segment, fixing crash Signed-off-by: Claudio Cambra <developer@claudiocambra.com> --- modules/gui/macosx/library/VLCLibraryWindow.m | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/gui/macosx/library/VLCLibraryWindow.m b/modules/gui/macosx/library/VLCLibraryWindow.m index 49b3a97dfe93..6a01eb886992 100644 --- a/modules/gui/macosx/library/VLCLibraryWindow.m +++ b/modules/gui/macosx/library/VLCLibraryWindow.m @@ -806,7 +806,6 @@ static void addShadow(NSImageView *__unsafe_unretained imageView) // restore alpha value to 1 for the case that macosx-opaqueness is set to < 1 self.alphaValue = 1.0; - self.videoViewController.view.hidden = YES; [self setViewForSelectedSegment]; [self disableVideoTitleBarMode]; [self showControlsBarImmediately]; -- GitLab