While it's not the cleanest patch ever, it's the best I can do for a quick release. This basically copy the ES_OUT_SET_PCR mechanism of the avi demux. -- TypX Le mauvais esprit est un art de vivre