Re: media seeking can't work in my decoder filter



On 7 Sep 2006 19:42:15 -0700, hbtmzrui@xxxxxxxxx wrote:

Thanks for your reply. I've checked when my filter receives a flush
operation, the operation flow is just as same as you said, but I don't
know how to check if ImediaSeeking parameters are passed correctly, can
you suggest me something about where does the media seeking happen in
baseclass?

in the transform base class, the output pin's NonDelegatingQueryInterface
is where the pass-thru object is created, and you should be able to set
breakpoints in the CPosPassThru::SetPositions method.

If the graph stops normally (instead of crashing or reporting an error)
then it must be getting an end-of-stream. Check when your filter receives
an end of stream call, and when it passes it on downstream.

G

.