Commit 1e77ff8b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix ES out failure handling (CID 124)

parent 706d5db0
...@@ -738,6 +738,9 @@ static int Init( input_thread_t * p_input, vlc_bool_t b_quick ) ...@@ -738,6 +738,9 @@ static int Init( input_thread_t * p_input, vlc_bool_t b_quick )
/* Create es out */ /* Create es out */
p_input->p_es_out = input_EsOutNew( p_input ); p_input->p_es_out = input_EsOutNew( p_input );
if( !p_input->p_es_out )
goto error;
es_out_Control( p_input->p_es_out, ES_OUT_SET_ACTIVE, VLC_FALSE ); es_out_Control( p_input->p_es_out, ES_OUT_SET_ACTIVE, VLC_FALSE );
es_out_Control( p_input->p_es_out, ES_OUT_SET_MODE, ES_OUT_MODE_NONE ); es_out_Control( p_input->p_es_out, ES_OUT_SET_MODE, ES_OUT_MODE_NONE );
......
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