[vlc-devel] [v3 9/9] lua:sd: discovered nodes have a no duration, it's not unknown/infinite
Steve Lhomme
robux4 at ycbcr.xyz
Thu Jul 26 10:04:02 CEST 2018
---
modules/lua/libs/sd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/lua/libs/sd.c b/modules/lua/libs/sd.c
index 2c971768d1..2556cfa2d6 100644
--- a/modules/lua/libs/sd.c
+++ b/modules/lua/libs/sd.c
@@ -295,7 +295,7 @@ static input_item_t *vlclua_sd_create_node( services_discovery_t *p_sd,
}
const char *psz_name = lua_tostring( L, -1 );
- input_item_t *p_input = input_item_NewExt( INPUT_ITEM_URI_NOP, psz_name, INPUT_DURATION_UNKNOWN,
+ input_item_t *p_input = input_item_NewExt( INPUT_ITEM_URI_NOP, psz_name, INPUT_DURATION_NONE,
ITEM_TYPE_NODE,
ITEM_NET_UNKNOWN );
lua_pop( L, 1 );
--
2.17.0
More information about the vlc-devel
mailing list