Fixed ISDB PID reassignment bug.
This commit is contained in:
parent
1e13c556ba
commit
c4aecc8a88
@ -248,7 +248,7 @@ public class Matenro : IPatEventHandler, ICatEventHandler, IBatEventHandler, IEi
|
|||||||
if (pidsReferencedByPmt[pmtStream.ElementaryPid])
|
if (pidsReferencedByPmt[pmtStream.ElementaryPid])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
pidsReferencedByPmt[sourcePid] = true;
|
pidsReferencedByPmt[pmtStream.ElementaryPid] = true;
|
||||||
StreamType streamType = DetectStreamType(pmtStream);
|
StreamType streamType = DetectStreamType(pmtStream);
|
||||||
switch (streamType)
|
switch (streamType)
|
||||||
{
|
{
|
||||||
@ -282,10 +282,12 @@ public class Matenro : IPatEventHandler, ICatEventHandler, IBatEventHandler, IEi
|
|||||||
case 0x0008:
|
case 0x0008:
|
||||||
//STD-B24
|
//STD-B24
|
||||||
//Sub-clause 9.6.1, Part 3, Vol. 1
|
//Sub-clause 9.6.1, Part 3, Vol. 1
|
||||||
|
logger.DebugFormat("PID 0x{0:X4} is ISDB Teletext",pmtStream.ElementaryPid);
|
||||||
return StreamType.IsdbTeletext;
|
return StreamType.IsdbTeletext;
|
||||||
case 0x0012:
|
case 0x0012:
|
||||||
//Sub-clause 9.6.1, Part 3, Vol. 1
|
//Sub-clause 9.6.1, Part 3, Vol. 1
|
||||||
//content descriptor = Sub-clause 9.6.2, Part 3, Vol. 1
|
//content descriptor = Sub-clause 9.6.2, Part 3, Vol. 1
|
||||||
|
logger.DebugFormat("PID 0x{0:X4} is ISDB Subtitle",pmtStream.ElementaryPid);
|
||||||
return StreamType.IsdbSubtitles;
|
return StreamType.IsdbSubtitles;
|
||||||
default:
|
default:
|
||||||
throw new IsdbException(String.Format("Unknown ISDB Data Component 0x{0:X4}", pmtStream.DataComponent.DataComponentId));
|
throw new IsdbException(String.Format("Unknown ISDB Data Component 0x{0:X4}", pmtStream.DataComponent.DataComponentId));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user