libdvbpsi
2.0.0-git
MPEG Transport Stream PSI table parser
|
Look at the PAT example. Especially how the PSI decoder is initialized. It's mandatory to check the dvbpsi_decoder_s::b_discontinuity flag each time the PSI decoder calls the specific decoder and then to reset it to false.