From: LinkeneitoR Date: Wed, 28 Nov 2018 06:26:51 +0000 (+0900) Subject: Add ATSC-T With 8VSB Modulation (for Korean User) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=062d970ecd764bb031cf2f07f2876cfa39675056;p=thirdparty%2Ftvheadend.git Add ATSC-T With 8VSB Modulation (for Korean User) --- diff --git a/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c b/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c index b993a5b0d..3f7a90161 100644 --- a/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c +++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c @@ -438,6 +438,16 @@ static int tvhdhomerun_frontend_tune(tvhdhomerun_frontend_t *hfe, mpegts_mux_ins case DVB_TYPE_CABLECARD: snprintf(channel_buf, sizeof(channel_buf), "%u", dmc->u.dmc_fe_cablecard.vchannel); break; + case DVB_TYPE_ATSC_T: + switch(dmc->dmc_fe_modulation) { + case DVB_MOD_VSB_8: + snprintf(channel_buf, sizeof(channel_buf), "auto6t:%u", dmc->dmc_fe_freq); + break; + default: + snprintf(channel_buf, sizeof(channel_buf), "auto:%u", dmc->dmc_fe_freq); + break; + } + break; default: snprintf(channel_buf, sizeof(channel_buf), "auto:%u", dmc->dmc_fe_freq); break;