[vlc-devel] [PATCH 06/11] playlist:tree: a node never has a known duration

Steve Lhomme robux4 at ycbcr.xyz
Tue Jul 24 15:52:26 CEST 2018


---
 src/playlist/tree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/playlist/tree.c b/src/playlist/tree.c
index cb269abf57..144d9cb477 100644
--- a/src/playlist/tree.c
+++ b/src/playlist/tree.c
@@ -66,8 +66,8 @@ playlist_item_t * playlist_NodeCreate( playlist_t *p_playlist,
     PL_ASSERT_LOCKED;
     if( !psz_name ) psz_name = _("Undefined");
 
-    p_new_input = input_item_NewExt( NULL, psz_name, INPUT_DURATION_INVALID, ITEM_TYPE_NODE,
-                                     ITEM_NET_UNKNOWN );
+    p_new_input = input_item_NewExt( NULL, psz_name, INPUT_DURATION_UNKNOWN,
+                                     ITEM_TYPE_NODE, ITEM_NET_UNKNOWN );
     if( !p_new_input )
         return NULL;
     p_item = playlist_ItemNewFromInput( p_playlist, p_new_input );
-- 
2.17.0



More information about the vlc-devel mailing list