[vlc-commits] input: remove INPUT_RESTART_ES_BY_ID

Thomas Guillem git at videolan.org
Thu May 23 10:22:00 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 10 15:14:14 2019 +0200| [323558111e5aa58fb7ce7272a86468ecfcc159eb] | committer: Thomas Guillem

input: remove INPUT_RESTART_ES_BY_ID

This is now directly handled by the player.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=323558111e5aa58fb7ce7272a86468ecfcc159eb
---

 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:
         {



More information about the vlc-commits mailing list