[vlc-devel] [PATCHv2 01/10] input: remove unused controls

Thomas Guillem thomas at gllm.fr
Thu Feb 27 16:19:08 CET 2020


---
 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 475a24b7ad2..74e4f87d8b6 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 83f3a9e899b..8914c4678b1 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,
-- 
2.20.1



More information about the vlc-devel mailing list