[vlc-commits] [Git][videolan/vlc][master] qt: mlplaylist: Display duration from MediaLibrary

Thomas Guillem (@tguillem) gitlab at videolan.org
Fri Mar 15 16:49:35 UTC 2024



Thomas Guillem pushed to branch master at VideoLAN / VLC


Commits:
50960ca5 by darshan jain at 2024-03-15T16:28:17+00:00
qt: mlplaylist: Display duration from MediaLibrary

- - - - -


1 changed file:

- modules/gui/qt/medialibrary/mlplaylist.cpp


Changes:

=====================================
modules/gui/qt/medialibrary/mlplaylist.cpp
=====================================
@@ -29,7 +29,7 @@
 MLPlaylist::MLPlaylist(const vlc_ml_playlist_t * data)
     : MLItem(MLItemId(data->i_id, VLC_ML_PARENT_PLAYLIST))
     , m_name(qfu(data->psz_name))
-    , m_duration(0) // TODO m_duration
+    , m_duration(data->i_duration)
     , m_count(data->i_nb_media)
 {
     assert(data);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/50960ca5531e9e8b43e3a41a28cd928b6d2d4da2

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/50960ca5531e9e8b43e3a41a28cd928b6d2d4da2
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