Commit 49245e40 authored by gbazin's avatar gbazin

* modules/access/mms/mms.c: set the priority to -1 and added an http shortcut.

parent 3c520c89
......@@ -56,7 +56,7 @@ static void Close( vlc_object_t * );
vlc_module_begin();
set_description( _("Microsoft Media Server (MMS) input") );
set_capability( "access2", 0 );
set_capability( "access2", -1 );
add_integer( "mms-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
......@@ -69,6 +69,7 @@ vlc_module_begin();
add_shortcut( "mmsu" );
add_shortcut( "mmst" );
add_shortcut( "mmsh" );
add_shortcut( "http" );
set_callbacks( Open, Close );
vlc_module_end();
......@@ -106,7 +107,8 @@ static int Open( vlc_object_t *p_this )
{
return E_( MMSTUOpen )( p_access );
}
else if( !strncmp( p_access->psz_access, "mmsh", 4 ) )
else if( !strncmp( p_access->psz_access, "mmsh", 4 ) ||
!strncmp( p_access->psz_access, "http", 4 ) )
{
return E_( 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