]> git.sesse.net Git - vlc/blobdiff - include/vlc_playlist.h
stream_demux: replace deprecated vlc_object_alive()
[vlc] / include / vlc_playlist.h
index 5f58bfd8a49bd32d5a4b46251e5ef04f40289bd1..10108cb2842b00126466353057cb8975dd825817 100644 (file)
@@ -251,7 +251,7 @@ enum pl_locked_state
 #define PL_UNLOCK playlist_Unlock( p_playlist )
 #define PL_ASSERT_LOCKED playlist_AssertLocked( p_playlist )
 
-VLC_API playlist_t * pl_Get( vlc_object_t * ) VLC_USED;
+VLC_API playlist_t * pl_Get( vlc_object_t * );
 #define pl_Get( a ) pl_Get( VLC_OBJECT(a) )
 
 /* Playlist control */
@@ -283,6 +283,10 @@ VLC_API int playlist_Control( playlist_t *p_playlist, int i_query, bool b_locked
  */
 VLC_API input_thread_t * playlist_CurrentInput( playlist_t *p_playlist ) VLC_USED;
 
+/** Get the duration of all items in a node.
+ */
+VLC_API mtime_t playlist_GetNodeDuration( playlist_item_t * );
+
 /** Clear the playlist
  * \param b_locked TRUE if playlist is locked when entering this function
  */