From: Robert Cameron Date: Tue, 22 May 2018 15:53:48 +0000 (-0700) Subject: Set some initial FE conditions for CableCARD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e270b2a6bc763f0b7c9624a4f771f357992b116;p=thirdparty%2Ftvheadend.git Set some initial FE conditions for CableCARD --- diff --git a/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c b/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c index b872db892..6277e81cb 100644 --- a/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c +++ b/src/input/mpegts/tvhdhomerun/tvhdhomerun_frontend.c @@ -763,6 +763,13 @@ tvhdhomerun_frontend_create(tvhdhomerun_device_t *hd, struct hdhomerun_discover_ hfe = (tvhdhomerun_frontend_t*)mpegts_input_create0((mpegts_input_t*)hfe, idc, uuid, conf); if (!hfe) return NULL; + /* Set some initial CableCARD settings */ + if (type == DVB_TYPE_CABLECARD) { + hfe->mi_ota_epg = 0; + hfe->mi_idlescan = 0; + hfe->mi_remove_scrambled_bits = 1; + } + /* Callbacks */ hfe->mi_get_weight = tvhdhomerun_frontend_get_weight; hfe->mi_get_priority = tvhdhomerun_frontend_get_priority;