SetPositions takes time ....

Hi,
When I try to seek a running graph (mpeg2 with mainconcept filter demux + decoder -> custom rendering filter ), it takes a lot of time , freezing the main loop for 100-120ms... so i have drops on the other displayed media. It' takes no times if the graph is in pause, but when the graph is running it takes time .. How can I minimize this time ? I was thinking that setPositions (IMediaseeking) is asynchronous ... but it's seems that it's not the case. Is it normal and is there a workaround ?

Best regards

Elezea

[546 byte] By [Elezea] at [2008-1-4]

Software Development for Windows Vista

Site Classified