From: Jaroslav Kysela Date: Thu, 3 Nov 2016 12:45:42 +0000 (+0100) Subject: SAT>IP: always add pids 0,21 for broken devices like Fritz! X-Git-Tag: v4.2.1~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=203af79bda296e50b4081908647fc6d90a847c29;p=thirdparty%2Ftvheadend.git SAT>IP: always add pids 0,21 for broken devices like Fritz! --- diff --git a/src/input/mpegts/satip/satip_frontend.c b/src/input/mpegts/satip/satip_frontend.c index 17070f113..ad5117b35 100644 --- a/src/input/mpegts/satip/satip_frontend.c +++ b/src/input/mpegts/satip/satip_frontend.c @@ -695,6 +695,10 @@ satip_frontend_update_pids mpegts_pid_add(&tr->sf_pids, mp->mp_pid, mps->mps_weight); } } + if (lfe->sf_device->sd_pids0) + mpegts_pid_add(&tr->sf_pids, 0, MPS_WEIGHT_PMT_SCAN); + if (lfe->sf_device->sd_pids21) + mpegts_pid_add(&tr->sf_pids, 21, MPS_WEIGHT_PMT_SCAN); } pthread_mutex_unlock(&lfe->sf_dvr_lock); diff --git a/src/input/mpegts/satip/satip_rtsp.c b/src/input/mpegts/satip/satip_rtsp.c index febc0e8a8..55fa50f4f 100644 --- a/src/input/mpegts/satip/satip_rtsp.c +++ b/src/input/mpegts/satip/satip_rtsp.c @@ -232,7 +232,7 @@ satip_rtsp_setup( http_client_t *hc, int src, int fe, if (flags & SATIP_SETUP_PIDS21) strcat(buf, ",21"); } else if (flags & SATIP_SETUP_PIDS21) - strcat(buf, "&pids=21"); + strcat(buf, "&pids=21"); tvhtrace(LS_SATIP, "setup params - %s", buf); if (hc->hc_rtsp_stream_id >= 0) snprintf(stream = _stream, sizeof(_stream), "/stream=%li",