From: Jasmin Jessich Date: Sun, 19 Nov 2017 23:20:10 +0000 (+0100) Subject: Remove mpegts_input_open_service_pid X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3941379efb5fdf3b521d984ab6d04220d7c64075;p=thirdparty%2Ftvheadend.git Remove mpegts_input_open_service_pid - When dvbcam_service_start is executed the first time c->pid is 0. dvbcam_service_start is not executed a second time, so it makes no sense to subscribe the PAT for the CAM. Signed-off-by: Jasmin Jessich --- diff --git a/src/descrambler/dvbcam.c b/src/descrambler/dvbcam.c index 9c866ebd3..c733aaf03 100644 --- a/src/descrambler/dvbcam.c +++ b/src/descrambler/dvbcam.c @@ -427,8 +427,6 @@ end: pthread_mutex_lock(&t->s_stream_mutex); mpegts_input_open_pid(mi, mm, DVB_CAT_PID, MPS_SERVICE, MPS_WEIGHT_CAT, t, 0); ((mpegts_service_t *)t)->s_cat_opened = 1; - mpegts_input_open_service_pid(mi, mm, t, - SCT_CA, c->pid, MPS_WEIGHT_CA, 1); pthread_mutex_unlock(&t->s_stream_mutex); pthread_mutex_unlock(&mi->mi_output_lock); mpegts_input_open_cat_monitor(mm, (mpegts_service_t *)t);