Commit 71eb0c84 authored by Francois Cartegnie's avatar Francois Cartegnie

es_out_timeshift: merge unkown queries case with invalid ones

parent b4559487
...@@ -576,16 +576,6 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args ) ...@@ -576,16 +576,6 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args )
switch( i_query ) switch( i_query )
{ {
/* Invalid query for this es_out level */
case ES_OUT_SET_ES_BY_ID:
case ES_OUT_RESTART_ES_BY_ID:
case ES_OUT_SET_ES_DEFAULT_BY_ID:
case ES_OUT_GET_ES_OBJECTS_BY_ID:
case ES_OUT_SET_DELAY:
case ES_OUT_SET_RECORD_STATE:
vlc_assert_unreachable();
return VLC_EGENERIC;
/* Pass-through control */ /* Pass-through control */
case ES_OUT_SET_MODE: case ES_OUT_SET_MODE:
case ES_OUT_SET_GROUP: case ES_OUT_SET_GROUP:
...@@ -697,9 +687,16 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args ) ...@@ -697,9 +687,16 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args )
return es_out_Control( p_sys->p_out, ES_OUT_GET_GROUP_FORCED, pi_group ); return es_out_Control( p_sys->p_out, ES_OUT_GET_GROUP_FORCED, pi_group );
} }
default: default:
msg_Err( p_sys->p_input, "Unknown es_out_Control query !" ); msg_Err( p_sys->p_input, "Unknown es_out_Control query !" );
// ft
/* Invalid queries for this es_out level */
case ES_OUT_SET_ES_BY_ID:
case ES_OUT_RESTART_ES_BY_ID:
case ES_OUT_SET_ES_DEFAULT_BY_ID:
case ES_OUT_GET_ES_OBJECTS_BY_ID:
case ES_OUT_SET_DELAY:
case ES_OUT_SET_RECORD_STATE:
vlc_assert_unreachable(); vlc_assert_unreachable();
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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