libdvbpsi  1.2.0
How to implement a new specific decoder ?

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.