[vlc-commits] input: remove unused controls
Thomas Guillem
git at videolan.org
Fri Feb 28 20:45:52 CET 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 27 16:06:52 2020 +0100| [1f1b9c9a13e0b1fa8022378cd3ca5a8a178654be] | committer: Thomas Guillem
input: remove unused controls
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f1b9c9a13e0b1fa8022378cd3ca5a8a178654be
---
src/input/input.c | 14 --------------
src/input/input_internal.h | 3 ---
2 files changed, 17 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 475a24b7ad..74e4f87d8b 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2005,20 +2005,6 @@ static bool Control( input_thread_t *p_input,
(size_t)1, &(const int){ param.val.i_int });
break;
- case INPUT_CONTROL_SET_ES_BY_ID:
- /* No need to force update, es_out does it if needed */
- es_out_Control( priv->p_es_out_display,
- ES_OUT_SET_ES_BY_ID, (int)param.val.i_int, true );
-
- demux_Control( priv->master->p_demux, DEMUX_SET_ES,
- (int)param.val.i_int );
- break;
-
- case INPUT_CONTROL_RESTART_ES_BY_ID:
- es_out_Control( priv->p_es_out_display,
- ES_OUT_RESTART_ES_BY_ID, (int)param.val.i_int );
- break;
-
case INPUT_CONTROL_SET_ES:
if( es_out_Control( input_priv(p_input)->p_es_out_display,
ES_OUT_SET_ES, vlc_es_id_get_out( param.id ) )
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 83f3a9e899..8914c4678b 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -567,9 +567,6 @@ enum input_control_e
INPUT_CONTROL_NAV_POPUP,
INPUT_CONTROL_NAV_MENU,
- INPUT_CONTROL_SET_ES_BY_ID,
- INPUT_CONTROL_RESTART_ES_BY_ID,
-
INPUT_CONTROL_SET_ES,
INPUT_CONTROL_SET_ES_LIST, // select a list of ES atomically
INPUT_CONTROL_UNSET_ES,
More information about the vlc-commits
mailing list