Commit b6754b3a authored by François Cartegnie's avatar François Cartegnie 🤞

input: fix dialog error message on subtitle demux fallback

parent f0f56bbd
......@@ -3294,9 +3294,10 @@ static int input_SlaveSourceAdd( input_thread_t *p_input,
b_forced );
input_source_t *p_source = InputSourceNew( p_input, psz_uri,
psz_forced_demux, b_can_fail );
psz_forced_demux,
b_can_fail || psz_forced_demux );
if( i_type == SLAVE_TYPE_SPU && p_source == NULL )
if( psz_forced_demux && p_source == NULL )
p_source = InputSourceNew( p_input, psz_uri, NULL, b_can_fail );
if( p_source == NULL )
......
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