[vlc-commits] macosx: Fix playlist duration calculation for media library
David Fuhrmann
git at videolan.org
Sat Dec 3 13:35:01 CET 2016
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Dec 3 13:36:51 2016 +0100| [d3d2a16b5b7f7904326e071400770e5d6ca3ff82] | committer: David Fuhrmann
macosx: Fix playlist duration calculation for media library
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d3d2a16b5b7f7904326e071400770e5d6ca3ff82
---
modules/gui/macosx/VLCMainWindow.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/VLCMainWindow.m b/modules/gui/macosx/VLCMainWindow.m
index 6b60dc1..aad40fb 100644
--- a/modules/gui/macosx/VLCMainWindow.m
+++ b/modules/gui/macosx/VLCMainWindow.m
@@ -954,7 +954,7 @@ static const float f_min_window_height = 307.;
if (root == ROOT_TYPE_PLAYLIST)
[_categoryLabel setStringValue: [_NS("Playlist") stringByAppendingString:[self _playbackDurationOfNode:p_playlist->p_playing]]];
else if (root == ROOT_TYPE_MEDIALIBRARY)
- [_categoryLabel setStringValue: [_NS("Media Library") stringByAppendingString:[self _playbackDurationOfNode:p_playlist->p_playing]]];
+ [_categoryLabel setStringValue: [_NS("Media Library") stringByAppendingString:[self _playbackDurationOfNode:p_playlist->p_media_library]]];
PL_UNLOCK;
}
More information about the vlc-commits
mailing list