Commit 6b99a438 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix an issue with a : in the subtitle-filename causing the subtitle detection to fail.

parent ed0c5773
...@@ -2123,7 +2123,11 @@ static int InputSourceInit( input_thread_t *p_input, ...@@ -2123,7 +2123,11 @@ static int InputSourceInit( input_thread_t *p_input,
if( psz_dup ) free( psz_dup ); if( psz_dup ) free( psz_dup );
psz_dup = strdup( psz_mrl ); psz_dup = strdup( psz_mrl );
psz_access = ""; psz_access = "";
psz_demux = ""; if( psz_forced_demux && *psz_forced_demux )
{
psz_demux = psz_forced_demux;
}
else psz_demux = "";
psz_path = psz_dup; psz_path = psz_dup;
in->p_access = access2_New( p_input, in->p_access = access2_New( p_input,
......
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