[vlc-commits] es_out: hide ES_OUT_SET_ES_LIST

Thomas Guillem git at videolan.org
Fri Feb 28 20:45:53 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 27 13:29:13 2020 +0100| [e6f0bae4a3cc15661922112f0851c545c67a159f] | committer: Thomas Guillem

es_out: hide ES_OUT_SET_ES_LIST

It is only used from the input_thread_t and don't need to be public.

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

 include/vlc_es_out.h                          | 1 -
 modules/access/bluray.c                       | 1 -
 modules/demux/adaptive/plumbing/FakeESOut.cpp | 1 -
 src/input/es_out.h                            | 3 +++
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/vlc_es_out.h b/include/vlc_es_out.h
index 46dffa9846..d15f9aef14 100644
--- a/include/vlc_es_out.h
+++ b/include/vlc_es_out.h
@@ -36,7 +36,6 @@ enum es_out_query_e
 {
     /* set or change the selected ES in its category (audio/video/spu) */
     ES_OUT_SET_ES,      /* arg1= es_out_id_t*                   */
-    ES_OUT_SET_ES_LIST, /* arg1= es_out_id_t *const* (null terminated array) */
     ES_OUT_UNSET_ES,    /* arg1= es_out_id_t* res=can fail      */
     ES_OUT_RESTART_ES,  /* arg1= es_out_id_t*                   */
 
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 90b811e159..f044063330 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1543,7 +1543,6 @@ static int bluray_esOutControl(es_out_t *p_out, int i_query, va_list args)
 
         case ES_OUT_SET_ES_DEFAULT:
         case ES_OUT_SET_ES:
-        case ES_OUT_SET_ES_LIST:
         case ES_OUT_UNSET_ES:
         case ES_OUT_SET_ES_STATE:
             i_ret = VLC_EGENERIC;
diff --git a/modules/demux/adaptive/plumbing/FakeESOut.cpp b/modules/demux/adaptive/plumbing/FakeESOut.cpp
index fec642e385..f16503b40c 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.cpp
@@ -567,7 +567,6 @@ int FakeESOut::esOutControl(int i_query, va_list args)
         }
 
         case ES_OUT_SET_ES:
-        case ES_OUT_SET_ES_LIST:
         case ES_OUT_SET_ES_DEFAULT:
         case ES_OUT_SET_ES_STATE:
             return VLC_SUCCESS;
diff --git a/src/input/es_out.h b/src/input/es_out.h
index e6cde26366..81592850cd 100644
--- a/src/input/es_out.h
+++ b/src/input/es_out.h
@@ -43,6 +43,9 @@ enum es_out_query_private_e
     /* Get date to wait before demuxing more data */
     ES_OUT_GET_WAKE_UP,                             /* arg1=vlc_tick_t*            res=cannot fail */
 
+    /* Select a list of ES */
+    ES_OUT_SET_ES_LIST, /* arg1= es_out_id_t *const* (null terminated array) */
+
     /* Wrapper for some ES command to work with id */
     ES_OUT_SET_ES_BY_ID,                            /* arg1= int, arg2= bool (forced) */
     ES_OUT_RESTART_ES_BY_ID,



More information about the vlc-commits mailing list