[vlc-devel] [PATCH 2/3] item: detect 'fd://' type at init

Rémi Denis-Courmont remi at remlab.net
Wed Nov 4 20:13:59 CET 2015


Le 2015-11-04 21:35, Thomas Guillem a écrit :
> @@ -950,6 +953,26 @@ input_item_NewWithTypeExt( const char *psz_uri,
> const char *psz_name,
>          p_input->i_type = type;
>      p_input->b_error_when_reading = false;
>
> +    if( p_input->i_type == ITEM_TYPE_UNKNOWN
> +     && !strncasecmp( p_input->psz_uri, "fd://", 5 )

The MRL syntax is not that simple.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list