Changeset 4719 for trunk/module-dvbapi.c
- Timestamp:
- 02/13/11 14:14:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-dvbapi.c
r4674 r4719 1437 1437 cs_debug_mask(D_DVBAPI, "dvbapi_process_input: demux %d filter %d len %d buffer %x curtable %x curindex %d\n", demux_id, filter_num, len, buffer[0], curpid->table, demux[demux_id].curindex); 1438 1438 #endif 1439 1440 if (pausecam) 1441 return; 1442 1439 1443 if (demux[demux_id].demux_fd[filter_num].type==TYPE_ECM) { 1440 1444 if (len != (((buffer[1] & 0xf) << 8) | buffer[2]) + 3) //invaild CAT length … … 1457 1461 1458 1462 if (demux[demux_id].pidindex==-1) { 1459 curpid->irdeto_chid = (buffer[6] << 8) | buffer[7]; 1460 struct s_dvbapi_priority *chidentry = dvbapi_check_prio_match(demux_id, demux[demux_id].demux_fd[filter_num].pidindex, 'i'); 1463 int chid = (buffer[6] << 8) | buffer[7]; 1464 struct s_dvbapi_priority *chidentry = dvbapi_check_prio_match(demux_id, demux[demux_id].demux_fd[filter_num].pidindex, 'p'); 1465 1466 if (chidentry && chidentry->chid && chidentry->chid != chid) { 1467 cs_debug_mask(D_DVBAPI, "irdeto skipping %04X:%06X:%02X", curpid->CAID, curpid->PROVID, chid); 1468 return; 1469 } 1470 1471 curpid->irdeto_chid = chid; 1472 chidentry = dvbapi_check_prio_match(demux_id, demux[demux_id].demux_fd[filter_num].pidindex, 'i'); 1461 1473 if (chidentry) { 1462 1474 cs_debug_mask(D_DVBAPI, "ignoring %04X:%06X:%02X", curpid->CAID, curpid->PROVID, curpid->irdeto_chid); … … 1502 1514 if (cfg.dvbapi_au>0) 1503 1515 dvbapi_start_emm_filter(demux_id); 1504 1505 pthread_mutex_lock(&event_handler_lock);1506 if (pausecam) {1507 cs_debug_mask(D_DVBAPI, "paused, ignoring ecm");1508 return;1509 }1510 pthread_mutex_unlock(&event_handler_lock);1511 1516 1512 1517 ECM_REQUEST *er; … … 1637 1642 1638 1643 chk_pending(tp); 1639 1640 if (pausecam==1) {1641 cs_sleepms(500);1642 continue;1643 }1644 1644 1645 1645 for (i=0;i<MAX_DEMUX;i++) {
Note:
See TracChangeset
for help on using the changeset viewer.