Changeset 10615
- Timestamp:
- 03/05/15 18:36:35 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-dvbapi.c
r10614 r10615 36 36 37 37 static int is_samygo; 38 static int dvbdriverbug;39 38 40 39 void flush_read_fd(int32_t demux_index, int32_t num, int fd) … … 1352 1351 1353 1352 // removed last of this streampid on ca? -> disable this pid with -1 on this ca 1354 if(action == REMOVED_STREAMPID_LASTINDEX && is_ca_used(i, ca_pid2.pid) == CA_IS_CLEAR && !dvbdriverbug) idx = -1;1353 if(action == REMOVED_STREAMPID_LASTINDEX && is_ca_used(i, ca_pid2.pid) == CA_IS_CLEAR) idx = -1; 1355 1354 1356 1355 ca_pid2.index = idx; … … 2630 2629 demux[demux_id].ECMpids[j].VPID = vpid; // register found vpid on all ecmpids of this demuxer 2631 2630 } 2632 cs_log("Demuxer %d found %d ECMpids and %d STREAMpids in PMT", demux_id, demux[demux_id].ECMpidcount, demux[demux_id].STREAMpidcount -1);2631 cs_log("Demuxer %d found %d ECMpids and %d STREAMpids in PMT", demux_id, demux[demux_id].ECMpidcount, demux[demux_id].STREAMpidcount); 2633 2632 2634 2633 getDemuxOptions(demux_id, buffer, &ca_mask, &demux_index, &adapter_index, &pmtpid); … … 3461 3460 cs_log("ERROR: Could not detect DVBAPI version."); 3462 3461 return NULL; 3463 }3464 3465 // vu boxes and gigablue seem to have the same ca disable pid with index -1 bug in their drivers, perhaps they share the same dvb driver base code?!3466 if( (!strncmp(boxtype_get(), "vu", 2 )) || (!strncmp(boxtype_get(), "gb", 2 )) )3467 {3468 cs_log("ERROR: Your %s box contains a serious dvb driverbug for pid handling, please ask the manufacturer to fix it!", boxtype_get() );3469 dvbdriverbug = 1;3470 }3471 else3472 {3473 dvbdriverbug = 0;3474 3462 } 3475 3463
Note:
See TracChangeset
for help on using the changeset viewer.