Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Handling Pause Option in Source Filter

2 views
Skip to first unread message

uday

unread,
Jun 23, 2010, 5:47:37 AM6/23/10
to
Dear Team,

I implemented directshow source filter inheriting the class from
CSourceStream. I can Play, Stop the filter using GraphEdit tool by
overriding OnThreadStartPlay and OnThreadDestroy functions.

But how to distinguish between Play and Pause options.

What I noticed is that the breaks point at OnThreadStartPlay hits for
both Play and Pause options only if I select Stop option in between.
When Play, Pause are selected continuously, the control never comes to
OnThreadStartPlay.

Do I need to override any other related function.

Regards.

0 new messages