Dan Stoyanov
2011-01-31 13:22:29 UTC
Hi all,
I have a simple dshow graph that plays a media file (dv compression)
using a custom renderer.The graph plays fine but I am having problems
with seeking. Seeking caps are all fine, the seek itself works with
SetPositions but when the graph is in a paused state I cant get the
new fame (at new position) to be delivered to my renderer. If the
graph is running seeking works as it should.
I think the problem is something related to the flushing mechanism
required. All my renderer does is derive from CBaseVideoRenderer. I
have not done any overriding of IMediaSeeking methods. Does anyone
know what I need to do to in order to get the grame at the new
position?
I have tried to pause the graph after calling SetPositions, also to
StopWhenReady. None of these work for me. So I suspect it is something
related to using a custom renderer because if I use the VMRs these
work fine.
Thanks a lot for any help,
Dan
I have a simple dshow graph that plays a media file (dv compression)
using a custom renderer.The graph plays fine but I am having problems
with seeking. Seeking caps are all fine, the seek itself works with
SetPositions but when the graph is in a paused state I cant get the
new fame (at new position) to be delivered to my renderer. If the
graph is running seeking works as it should.
I think the problem is something related to the flushing mechanism
required. All my renderer does is derive from CBaseVideoRenderer. I
have not done any overriding of IMediaSeeking methods. Does anyone
know what I need to do to in order to get the grame at the new
position?
I have tried to pause the graph after calling SetPositions, also to
StopWhenReady. None of these work for me. So I suspect it is something
related to using a custom renderer because if I use the VMRs these
work fine.
Thanks a lot for any help,
Dan