continuity counter

節目專用信息 ( Program Specific Information, PSI )是一種有關節目程序與 M2T 的 元數據 ,在數位電視系統中,指出節目的特別信息, 終端機器 (如 機頂盒 )只有通過這些信息才能搜索出節目來。PSI一般包括五者: PAT (Program Association Table) PMT (Program Map Table) NIT (Network Information Table) CAT (Condition Access Table) TDT (Time and Date Table) https://zh.wikipedia.org/wiki/MPEG2-TS /* Continuity check */ /* Return if no payload in the TS packet */ /* Skip the adaptation_field if present */ /* Unit start -> skip the pointer_field and a new section begins */ When the payload of the Transport Stream packet contains PSI data, the payload_unit_start_indicator has the following significance: if the Transport Stream packet carries the first byte of a PSI section, the payload_unit_start_indicator value shall be '1', indicating that the first byte of the payload of this Transport Stream packet carries the pointer_field . If the Transport Stream packet does not carry the first byte of a PSI section,...