diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2010-03-14 23:18:56 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2010-03-14 23:34:51 +0100 |
commit | 5807f50dbe66ddc19fa36d3f4a5f3645a05dab42 (patch) | |
tree | 8b813ef684850851c69ef8474c9cdc5faa487553 /reader.c | |
parent | da4e4031e6af413d2d4bd400c8a66a5bdc36ea02 (diff) | |
download | vdr-plugin-pvrinput-5807f50dbe66ddc19fa36d3f4a5f3645a05dab42.tar.gz vdr-plugin-pvrinput-5807f50dbe66ddc19fa36d3f4a5f3645a05dab42.tar.bz2 |
PMT: extend teletext ES info with descriptor tag 0x56
On the basis of this descriptor tag vdr recognize the
teletext packets. Otherwise the teletext PID will be removed from
the channel.
Diffstat (limited to 'reader.c')
-rw-r--r-- | reader.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -40,12 +40,12 @@ const unsigned char kPAT[TS_SIZE] = const unsigned char kPMT[TS_SIZE] = { - 0x47, 0x40, 0x84, 0x10, 0x00, 0x02, 0xb0, 0x22, + 0x47, 0x40, 0x84, 0x10, 0x00, 0x02, 0xb0, 0x24, 0x00, 0x01, 0xc1, 0x00, 0x00, 0xe0, 0x65, 0xf0, 0x00, 0x02, 0xe1, 0x2d, 0xf0, 0x00, 0x04, 0xe1, 0x2c, 0xf0, 0x06, 0x0a, 0x04, 0x00, 0x00, 0x00, - 0x01, 0x06, 0xe1, 0x31, 0xf0, 0x00, 0xcc, 0x32, - 0xcc, 0x32, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x01, 0x06, 0xe1, 0x31, 0xf0, 0x02, 0x56, 0x00, + 0xcc, 0x32, 0xcc, 0x32, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, @@ -498,11 +498,11 @@ void cPvrReadThread::Action(void) { memcpy(pmt_buffer, kPMT, TS_SIZE); pmt_buffer[8] = (sid >> 8) & 0xFF; pmt_buffer[9] = sid & 0xFF; - crc = SI::CRC32::crc32((const char *)(pmt_buffer + 5), 33, 0xFFFFFFFF); - pmt_buffer[38] = crc >> 24; - pmt_buffer[39] = crc >> 16; - pmt_buffer[40] = crc >> 8; - pmt_buffer[41] = crc; + crc = SI::CRC32::crc32((const char *)(pmt_buffer + 5), 35, 0xFFFFFFFF); + pmt_buffer[40] = crc >> 24; + pmt_buffer[41] = crc >> 16; + pmt_buffer[42] = crc >> 8; + pmt_buffer[43] = crc; } } retry: |