[vlc-devel] commit: Force a few access control values. (Laurent Aimar )

git version control git at videolan.org
Sun Sep 28 13:54:05 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Sep 28 13:54:33 2008 +0200| [42eedbbb1a87b486218f7ac8f8e2ee39e7b14801] | committer: Laurent Aimar 

Force a few access control values.

It will avoid ABI breakage for aesthetics reasons.

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

 include/vlc_access.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/vlc_access.h b/include/vlc_access.h
index acfc87f..821c01c 100644
--- a/include/vlc_access.h
+++ b/include/vlc_access.h
@@ -45,7 +45,7 @@ enum access_query_e
     ACCESS_CAN_CONTROL_PACE,/* arg1= bool*    cannot fail */
 
     /* */
-    ACCESS_GET_MTU,         /* arg1= int*           cannot fail(0 if no sense)*/
+    ACCESS_GET_MTU = 0x100, /* arg1= int*           cannot fail(0 if no sense)*/
     ACCESS_GET_PTS_DELAY,   /* arg1= int64_t*       cannot fail */
     /* */
     ACCESS_GET_TITLE_INFO,  /* arg1=input_title_t*** arg2=int*      res=can fail */
@@ -59,7 +59,7 @@ enum access_query_e
     ACCESS_GET_SIGNAL,      /* arg1=double *pf_quality, arg2=double *pf_strength   res=can fail */
 
     /* */
-    ACCESS_SET_PAUSE_STATE, /* arg1= bool           can fail */
+    ACCESS_SET_PAUSE_STATE = 0x200, /* arg1= bool           can fail */
 
     /* */
     ACCESS_SET_TITLE,       /* arg1= int            can fail */
@@ -67,9 +67,9 @@ enum access_query_e
 
     /* Special mode for access/demux communication
      * XXX: avoid to use it unless you can't */
-    ACCESS_SET_PRIVATE_ID_STATE, /* arg1= int i_private_data, bool b_selected    res=can fail */
-    ACCESS_SET_PRIVATE_ID_CA,    /* arg1= int i_program_number, uint16_t i_vpid, uint16_t i_apid1, uint16_t i_apid2, uint16_t i_apid3, uint8_t i_length, uint8_t *p_data */
-    ACCESS_GET_PRIVATE_ID_STATE, /* arg1=int i_private_data arg2=bool *          res=can fail */
+    ACCESS_SET_PRIVATE_ID_STATE = 0x1000, /* arg1= int i_private_data, bool b_selected    res=can fail */
+    ACCESS_SET_PRIVATE_ID_CA,             /* arg1= int i_program_number, uint16_t i_vpid, uint16_t i_apid1, uint16_t i_apid2, uint16_t i_apid3, uint8_t i_length, uint8_t *p_data */
+    ACCESS_GET_PRIVATE_ID_STATE,          /* arg1=int i_private_data arg2=bool *          res=can fail */
 };
 
 struct access_t




More information about the vlc-devel mailing list