From: Jaroslav Kysela Date: Tue, 14 Apr 2015 20:07:34 +0000 (+0200) Subject: SAT>IP Server: parse fec also for DVB-C X-Git-Tag: v4.1~159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8ae8a9cb0d8e4470acd46cc8b0cf7a43ffa6bbd;p=thirdparty%2Ftvheadend.git SAT>IP Server: parse fec also for DVB-C --- diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index bc5251859..c33ba862a 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -998,11 +998,13 @@ rtsp_parse_cmd } specinv = atoi(http_arg_get_remove(&hc->hc_req_args, "specinv")); if (specinv < 0 || specinv > 1) goto end; + fec = fec_to_tvh(hc); + if (fec == DVB_FEC_NONE) goto end; if (!TAILQ_EMPTY(&hc->hc_req_args)) goto eargs; dmc->u.dmc_fe_qam.symbol_rate = sr; - dmc->u.dmc_fe_qam.fec_inner = DVB_FEC_AUTO; + dmc->u.dmc_fe_qam.fec_inner = fec; dmc->dmc_fe_inversion = specinv; dmc->dmc_fe_stream_id = plp; dmc->dmc_fe_pls_code = ds; /* check */