Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP: add parsing for RTCP status string ver=1.2 (DVB-C), fixes #2646
  • Loading branch information
perexg committed Jan 27, 2015
1 parent c664af6 commit 98783a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -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:
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 98783a5

Please sign in to comment.