[vlc-devel] [PATCHv2 03/10] es_out: hide ES_OUT_SET_AUTOSELECT

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


It is only used from the input_thread_t and don't need to be public.
---
 include/vlc_es_out.h | 4 ----
 src/input/es_out.h   | 4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_es_out.h b/include/vlc_es_out.h
index d15f9aef14d..06b6a8f338d 100644
--- a/include/vlc_es_out.h
+++ b/include/vlc_es_out.h
@@ -111,10 +111,6 @@ enum es_out_query_e
     ES_OUT_SPU_SET_HIGHLIGHT, /* arg1= es_out_id_t* (spu es),
                                  arg2= const vlc_spu_highlight_t *, res=can fail  */
 
-    /* Disable autoselection of tracks from a given category */
-    ES_OUT_SET_AUTOSELECT,  /* arg1= int (es category),
-                               arg2= int (enabled/disabled), res=can fail */
-
     /* First value usable for private control */
     ES_OUT_PRIVATE_START = 0x10000,
 };
diff --git a/src/input/es_out.h b/src/input/es_out.h
index 81592850cdc..780dd12bd45 100644
--- a/src/input/es_out.h
+++ b/src/input/es_out.h
@@ -46,6 +46,10 @@ enum es_out_query_private_e
     /* Select a list of ES */
     ES_OUT_SET_ES_LIST, /* arg1= es_out_id_t *const* (null terminated array) */
 
+    /* Disable autoselection of tracks from a given category */
+    ES_OUT_SET_AUTOSELECT,  /* arg1= int (es category),
+                               arg2= int (enabled/disabled), res=can fail */
+
     /* 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,
-- 
2.20.1



More information about the vlc-devel mailing list