Commit 222e2acb authored by Laurent Aimar's avatar Laurent Aimar

Do not try other protocols when ask to quit (mms).

parent c0de0770
......@@ -136,8 +136,11 @@ static int Open( vlc_object_t *p_this )
}
}
if( MMSTUOpen ( p_access ) )
if( MMSTUOpen ( p_access ) )
{
if( p_access->b_die )
return VLC_EGENERIC;
/* try mmsh if mmstu failed */
return MMSHOpen ( p_access );
}
......
......@@ -155,7 +155,8 @@ int MMSTUOpen( access_t *p_access )
{ /* first try with TCP and then UDP*/
if( ( i_status = MMSOpen( p_access, &p_sys->url, MMS_PROTO_TCP ) ) )
{
i_status = MMSOpen( p_access, &p_sys->url, MMS_PROTO_UDP );
if( !p_access->b_die )
i_status = MMSOpen( p_access, &p_sys->url, MMS_PROTO_UDP );
}
}
else
......
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