[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:17:20 CEST 2018


I'm not too sure about this one. Can lua discover live sources ?


On 26/07/2018 10:04, Steve Lhomme wrote:
> ---
>   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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list