[vlc-devel] [PATCH 07/11] input:item: a vlc://nop item will never have a known duration

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


---
 src/input/item.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/item.c b/src/input/item.c
index f288d23c7d..e510ae5389 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -1666,7 +1666,7 @@ static int rdh_unflatten(struct vlc_readdir_helper *p_rdh,
                 psz_subpathname = p_rdh_dir->psz_path;
 
             input_item_t *p_item =
-                input_item_NewExt("vlc://nop", psz_subpathname, INPUT_DURATION_INVALID,
+                input_item_NewExt("vlc://nop", psz_subpathname, INPUT_DURATION_UNKNOWN,
                                   ITEM_TYPE_DIRECTORY, i_net);
             if (p_item == NULL)
             {
-- 
2.17.0



More information about the vlc-devel mailing list