[vlc-commits] [Git][videolan/vlc][master] macosx: Do not try applying decorative view constraints when vout containing...
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Apr 21 09:50:02 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
7caf2fdf by Claudio Cambra at 2025-04-21T09:33:35+00:00
macosx: Do not try applying decorative view constraints when vout containing view acquired by foreign view
Fixes crash when switching from audio item to video item playback when
the main video view is minimised in the library window
Signed-off-by: Claudio Cambra <developer at claudiocambra.com>
- - - - -
1 changed file:
- modules/gui/macosx/windows/video/VLCMainVideoViewController.m
Changes:
=====================================
modules/gui/macosx/windows/video/VLCMainVideoViewController.m
=====================================
@@ -225,7 +225,8 @@
- (void)applyAudioDecorativeViewForegroundCoverArtViewConstraints
{
- if (![self.voutContainingView.subviews containsObject:self.audioDecorativeView]) {
+ if (![self.view.subviews containsObject:self.voutContainingView] ||
+ ![self.voutContainingView.subviews containsObject:self.audioDecorativeView]) {
return;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7caf2fdf0ad77a4989581f9830ad7d7a670b6cc0
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7caf2fdf0ad77a4989581f9830ad7d7a670b6cc0
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list