Commit 42eedbbb authored by Laurent Aimar's avatar Laurent Aimar

Force a few access control values.

It will avoid ABI breakage for aesthetics reasons.
parent 7e96fc33
...@@ -45,7 +45,7 @@ enum access_query_e ...@@ -45,7 +45,7 @@ enum access_query_e
ACCESS_CAN_CONTROL_PACE,/* arg1= bool* cannot fail */ 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_PTS_DELAY, /* arg1= int64_t* cannot fail */
/* */ /* */
ACCESS_GET_TITLE_INFO, /* arg1=input_title_t*** arg2=int* res=can fail */ ACCESS_GET_TITLE_INFO, /* arg1=input_title_t*** arg2=int* res=can fail */
...@@ -59,7 +59,7 @@ enum access_query_e ...@@ -59,7 +59,7 @@ enum access_query_e
ACCESS_GET_SIGNAL, /* arg1=double *pf_quality, arg2=double *pf_strength res=can fail */ 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 */ ACCESS_SET_TITLE, /* arg1= int can fail */
...@@ -67,9 +67,9 @@ enum access_query_e ...@@ -67,9 +67,9 @@ enum access_query_e
/* Special mode for access/demux communication /* Special mode for access/demux communication
* XXX: avoid to use it unless you can't */ * 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_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_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_GET_PRIVATE_ID_STATE, /* arg1=int i_private_data arg2=bool * res=can fail */
}; };
struct access_t struct access_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment