]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
SAT>IP: add parsing for RTCP status string ver=1.2 (DVB-C), fixes #2646
authorJaroslav Kysela <perex@perex.cz>
Tue, 27 Jan 2015 15:06:30 +0000 (16:06 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 27 Jan 2015 15:06:30 +0000 (16:06 +0100)
src/input/mpegts/satip/satip_frontend.c

index c95adce40f8501bfefe7ba8ef9c941bd735870cf..a14245b39ee88777086f7447c6e9fca181b4bc86 100644 (file)
@@ -752,6 +752,10 @@ satip_frontend_decode_rtcp( satip_frontend_t *lfe, const char *name,
    * ver=1.1;tuner=<feID>,<level>,<lock>,<quality>,<freq>,<bw>,<msys>,<tmode>,\
    * <mtype>,<gi>,<fec>,<plp>,<t2id>,<sm>;pids=<pid0>,...,<pidn>
    *
+   * DVB-C:
+   * ver=1.2;tuner=<feID>,<level>,<lock>,<quality>,<freq>,<bw>,<msys>,<mtype>,\
+   * <sr>,<c2tft>,<ds>,<plp>,<specinv>;pids=<pid0>,...,<pidn>
+   *
    * DVB-C (OctopusNet):
    * ver=0.9;tuner=<feID>,<0>,<lock>,<0>,<freq>,<bw>,<msys>,<mtype>;pids=<pid0>,...<pidn>
    * example:
@@ -792,7 +796,8 @@ satip_frontend_decode_rtcp( satip_frontend_t *lfe, const char *name,
         s = (char *)rtcp + 16;
         tvhtrace("satip", "Status string: '%s'", s);
         status = SIGNAL_NONE;
-        if (strncmp(s, "ver=0.9;tuner=", 14) == 0) {
+        if (strncmp(s, "ver=0.9;tuner=", 14) == 0 ||
+            strncmp(s, "ver=1.2;tuner=", 14) == 0) {
           n = http_tokenize(s + 14, argv, 4, ',');
           if (n < 4)
             return;