Commit 3c520c89 authored by Gildas Bazin's avatar Gildas Bazin

* modules/access/http.c: keep this plugin at priority 0.

parent d60b3fee
......@@ -68,7 +68,7 @@ static void Close( vlc_object_t * );
vlc_module_begin();
set_description( _("HTTP input") );
set_capability( "access2", 1 );
set_capability( "access2", 0 );
add_string( "http-proxy", NULL, NULL, PROXY_TEXT, PROXY_LONGTEXT,
VLC_FALSE );
......@@ -269,11 +269,9 @@ static int Open ( vlc_object_t *p_this )
if( p_sys->psz_mime && !strcasecmp( p_sys->psz_mime, "video/x-ms-asf" ) )
{
char *p = strcasestr( p_access->psz_path, "asx" );
if( p == NULL )
if( !strcasestr( p_access->psz_path, "asx" ) )
{
msg_Dbg( p_access, "This isn't http, it's mms" );
msg_Dbg( p_access, "this isn't http, it's mms" );
goto error;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment