[vlc-commits] es_out: split controls range

Francois Cartegnie git at videolan.org
Mon May 18 21:06:47 CEST 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 22 19:53:16 2020 +0200| [04a3611845a4b49167d7392f4f7d18e728d88220] | committer: Francois Cartegnie

es_out: split controls range

you can't have assert() between priv/public spaces
if the enums can collide

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

 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*                   */



More information about the vlc-commits mailing list