1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Fixed pid scanner to default MPEG2 video stream type.

This commit is contained in:
Rolf Ahrenberg 2009-03-06 19:30:56 +02:00
parent 25ec9df0cc
commit 94225ac6a4
3 changed files with 10 additions and 4 deletions

View File

@ -70,7 +70,8 @@ VDR Plugin 'iptv' Revision History
- Updated Italian translation (Thanks to Diego Pierotto). - Updated Italian translation (Thanks to Diego Pierotto).
- Tweaked pid scanner parameters for HD broadcasts. - Tweaked pid scanner parameters for HD broadcasts.
- Fixed opening of fifo tap. - Fixed opening of fifo tap.
- Updated iptvstream.sh script to support optional video resolution settings. - Updated iptvstream.sh script to support optional video resolution
settings.
- Optimized streamer thread termination. - Optimized streamer thread termination.
2008-12-16: Version 0.2.3 2008-12-16: Version 0.2.3
@ -85,7 +86,10 @@ VDR Plugin 'iptv' Revision History
- Set max IPTV device count to VDR's max devices. - Set max IPTV device count to VDR's max devices.
- Fixed a possible crash in sid and pid scanners. - Fixed a possible crash in sid and pid scanners.
2009-xx-xx: Version 0.2.4 2009-xx-xx: Version 0.2.5
- Optimized TS packet data flow. - Optimized TS packet data flow.
- Refactored section filter class. - Refactored section filter class.
- Cleaned up example scripts.
- Fixed pid scanner to default MPEG2 video stream type
(Thanks to ua0lnj for reporting this one).

3
README
View File

@ -171,4 +171,5 @@ Acknowledgements:
- The IPTV section filtering code is derived from Linux kernel. - The IPTV section filtering code is derived from Linux kernel.
- The pid scanning code is derived from Udo Richter's streamplayer plugin. - The pid scanning code is derived from Udo Richter's streamplayer plugin
and defaults to MPEG2 video stream type.

View File

@ -147,7 +147,8 @@ void cPidScanner::Process(const uint8_t* buf)
Spids[i] = IptvChannel->Spid(i); Spids[i] = IptvChannel->Spid(i);
debug("cPidScanner::Process(): Vpid=0x%04X, Apid=0x%04X\n", Vpid, Apid); debug("cPidScanner::Process(): Vpid=0x%04X, Apid=0x%04X\n", Vpid, Apid);
#if defined(APIVERSNUM) && APIVERSNUM >= 10700 #if defined(APIVERSNUM) && APIVERSNUM >= 10700
IptvChannel->SetPids(Vpid, Ppid, 0, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid); int Vtype = 0x02; // MPEG-2=0x02, H.264=0x1B
IptvChannel->SetPids(Vpid, Ppid, Vtype, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid);
#else #else
IptvChannel->SetPids(Vpid, Ppid, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid); IptvChannel->SetPids(Vpid, Ppid, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid);
#endif #endif