Re: SetPositions() being called at the end of the stream
- From: vikram <vickys_box@xxxxxxxxxxxxxx>
- Date: Fri, 10 Aug 2007 11:55:53 -0000
Try putting a breakpoint there and check the call stack in the
debugger to see who's calling it. It
I put breakpoint in SetPositions, but in call stack I see that
quartz.dll is calling this function. I was wondering why SetPositions
is getting called at the end of the stream, even though no seeking
operation was requested...
On Aug 10, 6:44 am, "Thore B. Karlsen [DShow MVP]" <s...@xxxxxxxx>
wrote:
On Thu, 09 Aug 2007 13:44:04 -0000, vikram <vickys_...@xxxxxxxxxxxxxx>
wrote:
Hi,
I have implemented a demux filter whose output pins support
IMediaSeeking interface. The seeking is working as I expected it to
work, except at the end of the stream.
At the end of the stream, IMediaSeeking::SetPositions is getting
called with pCurrent (first argument) as 0. Now, because of this, the
filter thinks that user wants to seek to the first frame of the stream
and it tries to replay the stream.
Why is SetPositions getting called at the end of the stream? and, how
to differentiate this from normal seek operations done by the user?
Try putting a breakpoint there and check the call stack in the
debugger to see who's calling it. It would be helpful to set up the
debugger to use the Microsoft symbol server so you can tell where the
call is coming from.
--
Be seeing you.
.
- Follow-Ups:
- Re: SetPositions() being called at the end of the stream
- From: Thore B. Karlsen [DShow MVP]
- Re: SetPositions() being called at the end of the stream
- References:
- SetPositions() being called at the end of the stream
- From: vikram
- Re: SetPositions() being called at the end of the stream
- From: Thore B. Karlsen [DShow MVP]
- SetPositions() being called at the end of the stream
- Prev by Date: RE: RE: Creating of FilterGraph in separate thread “brakes” DSP plug-i
- Next by Date: Re: SetPositions() being called at the end of the stream
- Previous by thread: Re: SetPositions() being called at the end of the stream
- Next by thread: Re: SetPositions() being called at the end of the stream
- Index(es):
Relevant Pages
|