[vlc-commits] macosx/fspanel: fix title
Felix Paul Kühne
git at videolan.org
Mon Jan 6 14:15:58 CET 2020
vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Sun Dec 29 15:34:15 2019 +0100| [5dd154ef42a937a0c4f72b1dd7002eb554de4275] | committer: Felix Paul Kühne
macosx/fspanel: fix title
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5dd154ef42a937a0c4f72b1dd7002eb554de4275
---
modules/gui/macosx/windows/video/VLCFSPanelController.m | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/gui/macosx/windows/video/VLCFSPanelController.m b/modules/gui/macosx/windows/video/VLCFSPanelController.m
index 21bb703a63..28d0a6f249 100644
--- a/modules/gui/macosx/windows/video/VLCFSPanelController.m
+++ b/modules/gui/macosx/windows/video/VLCFSPanelController.m
@@ -162,6 +162,8 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
* so the state is shared between those.
*/
[_remainingOrTotalTime setRemainingIdentifier:VLCTimeFieldDisplayTimeAsRemaining];
+
+ [self inputItemChanged:nil];
}
#undef setupButton
@@ -282,7 +284,7 @@ static NSString *kAssociatedFullscreenRect = @"VLCFullscreenAssociatedWindowRect
title = _NS("VLC media player");
}
- if (nowPlaying) {
+ if (nowPlaying.length > 0) {
[_mediaTitle setStringValue:nowPlaying];
} else {
[_mediaTitle setStringValue:title];
More information about the vlc-commits
mailing list