Commit 8329eb01 authored by Christophe Mutricy's avatar Christophe Mutricy

Try with the full MRL if the access haven't successed with access & url

parent 3878b274
......@@ -2198,7 +2198,16 @@ static int InputSourceInit( input_thread_t *p_input,
psz_access, psz_demux, psz_path,
p_input->b_preparsing );
}
/* access failed, maybe our access detection was wrong.
* Retry with the full name */
if( in->p_access == NULL && strchr( psz_mrl, ':' ) )
{
msg_Dbg( p_input, "retrying with access `' demux `' path `%s'",
psz_mrl );
in->p_access = access2_New( p_input,
"", "", psz_mrl,
p_input->b_preparsing );
}
if( in->p_access == NULL )
{
msg_Err( p_input, "open of `%s' failed: %s", psz_mrl,
......
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