]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Remove mpegts_input_open_service_pid
authorJasmin Jessich <jasmin@anw.at>
Sun, 19 Nov 2017 23:20:10 +0000 (00:20 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 20 Nov 2017 08:05:26 +0000 (09:05 +0100)
- 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 <jasmin@anw.at>
src/descrambler/dvbcam.c

index 9c866ebd3dd8fb03e8ce7d4392fc34193f5500bc..c733aaf03d49d7133dc03c8d0311c2f2350b0bff 100644 (file)
@@ -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);