From: Jaroslav Kysela Date: Tue, 12 Sep 2017 11:48:18 +0000 (+0200) Subject: satip server: add one more no_data check, issue #4499 X-Git-Tag: v4.2.4~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7ad8de9da97004e114b54c44bb4df98d5005e4c;p=thirdparty%2Ftvheadend.git satip server: add one more no_data check, issue #4499 --- diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index 91c604f3a..b1ec95e14 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -603,8 +603,11 @@ rtsp_start goto endclean; } if (rs->mux == mux && rs->subs) { - if (rs->no_data) + if (rs->no_data) { + tvhwarn(LS_SATIPS, "%i/%s/%i: subscription fails because mux %s can't tune", + rs->frontend, rs->session, rs->stream, buf); goto endclean; + } goto pids; } rtsp_clean(rs, 1); @@ -1163,7 +1166,7 @@ rtsp_parse_cmd rs->stream = stream_id % 0x7fff; } else { /* don't subscribe to the new mux, if it was already done */ - if (memcmp(dmc, &rs->dmc_tuned, sizeof(*dmc)) == 0) + if (memcmp(dmc, &rs->dmc_tuned, sizeof(*dmc)) == 0 && !rs->no_data) *valid = 0; }