I've noticed that sometimes when during the first second of playing mpegts streams a pts jump can occur which can pretty much mess up playback. e.g. pts 8000000 8500000 8501000 8502000 Maybe we should add a configurable threshold for the max pts delta, and if this threshold is exceeded reset the origin pts?