Re: Seeking in WMP9&10 ignores DS specs...

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

From: Geraint Davies (geraintd_at__NO_THANK_YOU_REALLY_gdcl.co.uk)
Date: 09/18/04


Date: Sat, 18 Sep 2004 11:08:06 +0100


> Hmmm... i have a multi output source filter though.. isn't the problem
> with ignoring the *pCurrent ... how can you return a modified one unless
> you let one of the seeks happen ? Does that just mean i can just return
> S_OK and do nothing, instead of E_NOTIMPL.

It's a bug in dshow aggregation of seeking interfaces, but only WMP hits it
because of the way it uses the seeking interface. You need to report the
same capabilities from all pins and return S_OK from SetPositions even if
you don't seek on that pin.

The standard way to select which pin does the seeking is that the first call
to SetTimeFormat sets that pin as the seeker. Other pins are ignored. Then a
call to SetTimeFormat(TIME_FORMAT_NONE) releases that pin.

G



Relevant Pages