[vlc-devel] [PATCH 08/11] input:item: set a temporary duration of 0 to items read in a directory
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jul 24 15:52:28 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 e510ae5389..ca08af6bb5 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -1806,7 +1806,7 @@ int vlc_readdir_helper_additem(struct vlc_readdir_helper *p_rdh,
return i_ret;
}
- input_item_t *p_item = input_item_NewExt(psz_uri, psz_filename, INPUT_DURATION_INVALID, i_type,
+ input_item_t *p_item = input_item_NewExt(psz_uri, psz_filename, INPUT_DURATION_ZERO, i_type,
i_net);
if (p_item == NULL)
return VLC_ENOMEM;
--
2.17.0
More information about the vlc-devel
mailing list