[vlc-devel] [PATCH 1/5] es_out: split controls range

Francois Cartegnie fcvlcdev at free.fr
Thu Apr 23 13:00:10 CEST 2020


you can't have assert() between priv/public spaces
if the enums can collide
---
 src/input/es_out.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/es_out.h b/src/input/es_out.h
index cc8ce55a6a..8ab41a80bf 100644
--- a/src/input/es_out.h
+++ b/src/input/es_out.h
@@ -38,7 +38,7 @@ enum es_out_mode_e
 enum es_out_query_private_e
 {
     /* set/get mode */
-    ES_OUT_PRIV_SET_MODE,                           /* arg1= int */
+    ES_OUT_PRIV_SET_MODE = ES_OUT_PRIVATE_START, /* arg1= int */
 
     /* Same than ES_OUT_SET_ES/ES_OUT_UNSET_ES/ES_OUT_RESTART_ES, but with vlc_es_id_t * */
     ES_OUT_PRIV_SET_ES,      /* arg1= vlc_es_id_t*                   */
-- 
2.25.3



More information about the vlc-devel mailing list