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 0.
Generated on Sun Apr 28 2013 19:44:50 for libdvbpsi by 1.8.3.1