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

Tech-Archive recommends: Fix windows errors by optimizing your registry



I've checked following your suggestion, and output pin's
NonDelegatingQueryInterface is called correctly and then pass-thru
object is created, but I can't set breakpoints in the
CPosPassThru::SetPositions method, it's always disabled and procedure
never go there, maybe something is wrong here?
when the graph stops it gets an end-of-stream and passes it downstream
rightly, everything seems ok.I've never inherited any methods relative
to IMediaSeeking interface and changed their behavior in my filter, so
all the seeking operations should be completed in baseclasses, I really
don't undertand the reason why it doesn't work the same way as another
transform filters.


Geraint Davies wrote:
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

.