[vlc-devel] [PATCH 2/3] item: detect 'fd://' type at init
Rémi Denis-Courmont
remi at remlab.net
Thu Nov 5 07:45:26 CET 2015
Le 2015-11-05 01:49, Jean-Baptiste Kempf a écrit :
> On 04 Nov, Rémi Denis-Courmont wrote :
>> 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.
>
> You mean in general or just in the fd case?
Both actually.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list