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

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

int64_t != int
parent 16bf702b
...@@ -1873,11 +1873,13 @@ static bool Control( input_thread_t *p_input, ...@@ -1873,11 +1873,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