Changeset 37785
- Timestamp:
- 07/09/16 01:32:56 (7 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/ca.h
r37777 r37785 1927 1927 if(node == NULL && dvbnode == NULL) return 1; 1928 1928 1929 // cacc 1929 1930 dvbnode->caslot->scrambled = 0; 1931 debug(620, "set scrambled=%d", dvbnode->caslot->scrambled); 1930 1932 1931 1933 if(dvbnode->type == CIDEV && dvbnode->fd > -1 && dvbnode->caslot != NULL && dvbnode->caslot->status == 2 && dvbnode->caslot->caids != NULL) … … 2114 2116 } 2115 2117 debug(620, "found cam for decrypt (slot=%d)", dvbnode->devnr); 2116 //if(dvbnode->caslot->private_data != NULL) 2117 // resendKey(dvbnode); 2118 // cacc 2118 2119 dvbnode->caslot->scrambled = 1; 2120 debug(620, "set scrambled=%d", dvbnode->caslot->scrambled); 2121 2119 2122 return 0; 2120 2123 } -
titan/titan/header.h
r37769 r37785 29 29 int descrambler_open(void); 30 30 void descrambler_close(void); 31 int descrambler_set_key(int index, int parity, unsigned char *data);32 31 /* we don't use this for ci cam ! */ 33 32 //int descrambler_set_pid(int index, int enable, int pid); … … 43 42 int ci_ccmgr_cc_sac_send(struct dvbdev* dvbnode, int sessionnr, uint8_t *tag, uint8_t *data, unsigned int pos); 44 43 void ci_ccmgr_cc_sac_sync_req(struct dvbdev* dvbnode, int sessionnr, uint8_t *data, unsigned int len); 45 int descrambler_set_key 1(struct dvbdev* node, int index, int parity, unsigned char *data);44 int descrambler_set_key(struct dvbdev* node, int index, int parity, unsigned char *data); 46 45 int sendnullpmt(struct dvbdev* dvbnode, int sessionnr); 47 46
Note: See TracChangeset
for help on using the changeset viewer.