Commit 803e907b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: fix changing ES on big-endian (fixes #6163)

int64_t != int
(cherry picked from commit ecf6d12f439132e4ffde0b70387a2da31b8a9d42)
parent 0731d12c
...@@ -1902,11 +1902,13 @@ static bool Control( input_thread_t *p_input, ...@@ -1902,11 +1902,13 @@ static bool Control( input_thread_t *p_input,
case INPUT_CONTROL_SET_ES: case INPUT_CONTROL_SET_ES:
/* No need to force update, es_out does it if needed */ /* No need to force update, es_out does it if needed */
es_out_Control( p_input->p->p_es_out_display, ES_OUT_SET_ES_BY_ID, val.i_int ); es_out_Control( p_input->p->p_es_out_display,
ES_OUT_SET_ES_BY_ID, (int)val.i_int );
break; break;
case INPUT_CONTROL_RESTART_ES: case INPUT_CONTROL_RESTART_ES:
es_out_Control( p_input->p->p_es_out_display, ES_OUT_RESTART_ES_BY_ID, val.i_int ); es_out_Control( p_input->p->p_es_out_display,
ES_OUT_RESTART_ES_BY_ID, (int)val.i_int );
break; break;
case INPUT_CONTROL_SET_AUDIO_DELAY: case INPUT_CONTROL_SET_AUDIO_DELAY:
......
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