[vlc-commits] playlist: replace a VLC_TICK_INVALID duration check by INPUT_DURATION_UNSET
Steve Lhomme
git at videolan.org
Tue Oct 9 14:55:35 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct 9 14:51:17 2018 +0200| [af8ba23e8b13c9bf7148774d5023c12b125d7472] | committer: Steve Lhomme
playlist: replace a VLC_TICK_INVALID duration check by INPUT_DURATION_UNSET
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af8ba23e8b13c9bf7148774d5023c12b125d7472
---
src/playlist/item.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/playlist/item.c b/src/playlist/item.c
index a6d375f66e..dcbfab7991 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -717,7 +717,7 @@ void playlist_SendAddNotify( playlist_t *p_playlist, playlist_item_t *item )
vlc_tick_t playlist_GetNodeDuration( playlist_item_t* node )
{
vlc_tick_t duration = input_item_GetDuration( node->p_input );
- if( duration == VLC_TICK_INVALID )
+ if( duration == INPUT_DURATION_UNSET )
duration = 0;
for( int i = 0; i < node->i_children; i++ )
More information about the vlc-commits
mailing list