{
dvbcam_active_cam_t *ac;
- tvhtrace("dvbcam", "register cam ca %p slot %u num_caids %u",
+ tvhtrace(LS_DVBCAM, "register cam ca %p slot %u num_caids %u",
lca, slot, num_caids);
num_caids = MIN(CAIDS_PER_CA_SLOT, num_caids);
dvbcam_active_cam_t *ac, *ac_tmp;
dvbcam_active_service_t *as;
- tvhtrace("dvbcam", "unregister cam lca %p slot %u", lca, slot);
+ tvhtrace(LS_DVBCAM, "unregister cam lca %p slot %u", lca, slot);
pthread_mutex_lock(&dvbcam_mutex);
}
if (!as) {
- tvhtrace("dvbcam", "cannot find active service entry");
+ tvhtrace(LS_DVBCAM, "cannot find active service entry");
goto done;
}
/*if this is update just send updated CAPMT to CAM */
if (is_update) {
- tvhtrace("dvbcam", "CAPMT sent to CAM (update)");
+ tvhtrace(LS_DVBCAM, "CAPMT sent to CAM (update)");
list_mgmt = CA_LIST_MANAGEMENT_UPDATE;
goto enqueue;
}
end_of_search_for_cam:
if (!ac) {
- tvhtrace("dvbcam", "cannot find active cam entry");
+ tvhtrace(LS_DVBCAM, "cannot find active cam entry");
goto done;
}
- tvhtrace("dvbcam", "found active cam entry");
+ tvhtrace(LS_DVBCAM, "found active cam entry");
if (ac->active_programs++)
list_mgmt = CA_LIST_MANAGEMENT_ADD;
{
dvbcam_active_service_t *as;
- tvhtrace("dvbcam", "start service %p", t);
+ tvhtrace(LS_DVBCAM, "start service %p", t);
TAILQ_FOREACH(as, &dvbcam_active_services, link)
if (as->t == t)
dvbcam_active_cam_t *ac2;
uint8_t slot = -1;
- tvhtrace("dvbcam", "stop service %p", t);
+ tvhtrace(LS_DVBCAM, "stop service %p", t);
pthread_mutex_lock(&dvbcam_mutex);
[LS_CSA] = { "csa", N_("CSA (descrambling)") },
[LS_CAPMT] = { "capmt", N_("CAPMT CA Client") },
[LS_CWC] = { "cwc", N_("CWC CA Client") },
+ [LS_DVBCAM] = { "dvbcam", N_("DVB CAM Client") },
[LS_DVR] = { "dvr", N_("Digital Video Recorder") },
[LS_EPG] = { "epg", N_("Electronic Program Guide") },
[LS_EPGDB] = { "epgdb", N_("EPG Database") },