Frame stepping & custom KS event sets.

Hi folks,

I have a quick couple of queries about frame stepping & KS filters. As I

understand it, frame stepping seems to work like this:

1… FGM changes renderer state to pause.
2… Checks filter can step, and requests step for X frames from
3… FGM changes state to play.
4… Filter should step through the required # of frames at the normal
playback rate.
5… Once filter has done that # of frames, it should send an
6… FGM gets step complete notification, and then puts the graph back
the paused state.
Which means that my renderer has to implement the frame stepping
set, which it now does (many thanks to the guys on the dev driver group

got my GUID’s sorted!). Strangely, the filter graph manager seems to
the frame step property set on the *filter*, not the pin - but that does
concern me unduly at the moment.

However, the mechanism above means that my renderer also has to send the

EC_STEP_COMPLETE notification.

Perusal of the existing code indicates that (for example) the render
an EC_COMPLETE notification by implementing the KSEVENTSETID_Connection
event set on a stream. The problem is that I can’t seem to find a
event set that would let me send the frame step complete notification.

Perusal of newsgroups / MSDN seems to indicate that one *could*
implement a
custom event set, but it’s unclear to me at the moment if I could tie
in to the notification that the filter graph manager expects.

Any ideas anyone?


This email and any attachments is confidential, may be legally privileged and is intended for the use of the addressee only. If you are not the intended recipient, please note that any use, disclosure, printing or copying of this email is strictly prohibited and may be unlawful. If received in error, please delete this email and any attachments and confirm this to the sender.