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

Jean-Baptiste Kempf jb at videolan.org
Wed Nov 4 23:49:34 CET 2015


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?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list