MP1-4155: added discontinuity checking in MPEG2 TS streams