Commit dcae6a70 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mms: remove "http" shortcut

The HTTP module will redirect to MMS(H) when applicable, so handing
of the "http" scheem in the MMS module is no longer necessary.

Removing it saves a pointless connection attempt when HTTP fails for a
reason other than redirecting to MMS.
parent d33f1743
......@@ -80,7 +80,7 @@ vlc_module_begin ()
add_string( "mmsh-proxy", NULL, PROXY_TEXT, PROXY_LONGTEXT,
false )
add_shortcut( "mms", "mmsu", "mmst", "mmsh", "http" )
add_shortcut( "mms", "mmsu", "mmst", "mmsh" )
set_callbacks( Open, Close )
vlc_module_end ()
......@@ -110,8 +110,7 @@ static int Open( vlc_object_t *p_this )
{
return MMSTUOpen ( p_access );
}
else if( !strncmp( p_access->psz_access, "mmsh", 4 ) ||
!strncmp( p_access->psz_access, "http", 4 ) )
else if( !strncmp( p_access->psz_access, "mmsh", 4 ) )
{
return MMSHOpen ( p_access );
}
......
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