From: Jaroslav Kysela Date: Thu, 25 May 2017 12:20:15 +0000 (+0200) Subject: capmt: fix the PMT request (adapter) X-Git-Tag: v4.2.3~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=403df9a482afd4da160e806f828b2799dfd4578f;p=thirdparty%2Ftvheadend.git capmt: fix the PMT request (adapter) --- diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index 22d2c380e..e4c65cd3d 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -97,7 +97,7 @@ typedef struct dmx_filter { #define CAPMT_LIST_UPDATE 0x05 // replace an entry in the list with an 'UPDATE' CAPMT object, and start working with the updated list // ca_pmt_descriptor types -#define CAPMT_DESC_PRIVATE 0x81 +#define CAPMT_DESC_ENIGMA 0x81 #define CAPMT_DESC_DEMUX 0x82 #define CAPMT_DESC_PID 0x84 @@ -1995,8 +1995,8 @@ capmt_send_request(capmt_service_t *ct, int lm) capmt->capmt_pmtversion = (capmt->capmt_pmtversion + 1) & 0x1F; buf[pos++] = 0; /* room for length - program info tags */ buf[pos++] = 0; /* room for length - program info tags */ - if (!capmt_oscam_new(capmt)) - buf[pos++] = 1; /* OK DESCRAMBLING */ + buf[pos++] = 1; /* OK DESCRAMBLING, skipped for parse_descriptors, but */ + /* mandatory for getDemuxOptions() */ /* build program info tags */ @@ -2009,7 +2009,7 @@ capmt_send_request(capmt_service_t *ct, int lm) } /* build SI tag */ - buf[pos++] = CAPMT_DESC_PRIVATE; + buf[pos++] = CAPMT_DESC_ENIGMA; buf[pos++] = 8; buf[pos++] = 0; /* enigma namespace goes here */ buf[pos++] = 0; /* enigma namespace goes here */