Commit 50ce0b4f authored by Thomas Guillem's avatar Thomas Guillem

input: keep ES_OUT_MODE_AUTO when using a renderer

Chromecast need auto mode in order to avoid to send extra tracks that can't be
read by the CC and in order to make the es selection works.

Ideally, this mode should be fetched from the renderer item.
parent 4c2b909c
......@@ -1221,7 +1221,7 @@ static void InitPrograms( input_thread_t * p_input )
/* Set up es_out */
i_es_out_mode = ES_OUT_MODE_AUTO;
if( input_priv(p_input)->p_sout )
if( input_priv(p_input)->p_sout && !input_priv(p_input)->p_renderer )
{
char *prgms;
......
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