From a2d43052bb885b5d744ace531c17b05e295160ae Mon Sep 17 00:00:00 2001 From: theparasol Date: Thu, 21 Dec 2017 18:56:59 +0000 Subject: [PATCH] DVBAPI: parse pmtpid also for PC clients Tnx Perexg git-svn-id: http://www.streamboard.tv/svn/oscam/trunk@11396 4b0bc96b-bc66-0410-9d44-ebda105a78c1 --- module-dvbapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/module-dvbapi.c b/module-dvbapi.c index c90df1bd..dd79e4cd 100644 --- a/module-dvbapi.c +++ b/module-dvbapi.c @@ -3167,6 +3167,7 @@ static void getDemuxOptions(int32_t demux_id, unsigned char *buffer, uint32_t *c *demux_index = buffer[9]; // it is always 0 but you never know *adapter_index = buffer[10]; // adapter index can be 0,1,2 *ca_mask = (1 << *adapter_index); // use adapter_index as ca_mask (used as index for ca_fd[] array) + if (buffer[21]==0x84 && buffer[22]==0x02) *pmtpid = b2i(2, buffer+23); } } -- 2.11.4.GIT