[vlc-devel] [PATCH 09/18] input: remove INPUT_RESTART_ES_BY_ID

Thomas Guillem thomas at gllm.fr
Fri May 10 16:03:13 CEST 2019


This is now directly handled by the player.
---
 include/vlc_input.h | 3 ---
 src/input/control.c | 5 -----
 2 files changed, 8 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 3e6ea1f7dc..7d417b5388 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -566,9 +566,6 @@ enum input_query_e
                             * arg3= bool forced, arg4= bool notify,
                             * arg5= bool check_extension */
 
-    /* ES */
-    INPUT_RESTART_ES_BY_ID,/* arg1=int (-AUDIO/VIDEO/SPU_ES for the whole category) */
-
     /* Viewpoint */
     INPUT_UPDATE_VIEWPOINT, /* arg1=(const vlc_viewpoint_t*), arg2=bool b_absolute */
     INPUT_SET_INITIAL_VIEWPOINT, /* arg1=(const vlc_viewpoint_t*) */
diff --git a/src/input/control.c b/src/input/control.c
index 3af1597c6c..e3401044a9 100644
--- a/src/input/control.c
+++ b/src/input/control.c
@@ -248,11 +248,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
             return VLC_SUCCESS;
         }
 
-        case INPUT_RESTART_ES_BY_ID:
-            val.i_int = va_arg( args, int );
-            input_ControlPushHelper( p_input, INPUT_CONTROL_RESTART_ES_BY_ID, &val );
-            return VLC_SUCCESS;
-
         case INPUT_UPDATE_VIEWPOINT:
         case INPUT_SET_INITIAL_VIEWPOINT:
         {
-- 
2.20.1



More information about the vlc-devel mailing list