Re: SOS... help required in implementing pull mechanism
- From: "rahul" <talk2rahulverma@xxxxxxxxx>
- Date: 28 Nov 2006 01:23:02 -0800
hi,
Geraint Davies wrote:
On 22 Nov 2006 02:40:03 -0800, rahul wrote:
Here the __super::Receive(pSample) is not calling Transform
method(which is should according to documentation), instead the
downstream's trasform filter;s transform is being called.. the graph is
async file src-->dummy pull transform-->video transform-->video
renderer.
why is it so?????
i m stuck in it for 2 days now :(
why don't you step into the base class Receive method and see what is
happening? Looking at the code, the only reason I can see for calling
directly to the downstream filter is if the IMediaSample2 props stream id
is not set correctly.
G
why don't you step into the base class Receive method and see what is
happening?
i m using the trial version of microsoft visual studio 2005 and cant
debug into the base class's Receive method. Is there any other way of
doing that??
the only reason I can see for calling
directly to the downstream filter is if the IMediaSample2 props stream id
is not set correctly.
wht is that. How can i check it and set it correctly.
meanwhile i tried somethin differernt. As the dummy transform filter's
Receive was calling downstream transform filter's Transform method, i
did the parsing of the media sample in receive function itself. i m
getting the Sample from the asyn file source, and in the receive
function i m parsing it into frames and doing a memcpy with
mediaSample's (which is the argument to the receive function)
getpointer as the target address.
everything is goin fine, the connection process, the data flow and
decoding. only problem is with the renderer now, the first fifteen or
sixteen decoded frames r not being rendered and after that its working
properly. i m assuming thy r getting dropped. I m not assignin any time
stamps anywhere.
could u tell me why is it happening?? sorry if i sound a bit vague but
this was the best attempt to cover the whole problem
i really need help.!!!!
thanks and regards,
Rahul
.
- References:
- SOS... help required in implementing pull mechanism
- From: rahul
- Re: SOS... help required in implementing pull mechanism
- From: Iain
- Re: SOS... help required in implementing pull mechanism
- From: rahul
- Re: SOS... help required in implementing pull mechanism
- From: Geraint Davies
- Re: SOS... help required in implementing pull mechanism
- From: rahul
- Re: SOS... help required in implementing pull mechanism
- From: Geraint Davies
- Re: SOS... help required in implementing pull mechanism
- From: rahul
- Re: SOS... help required in implementing pull mechanism
- From: Geraint Davies
- SOS... help required in implementing pull mechanism
- Prev by Date: Re: Setting camera properties
- Next by Date: Re: SmartTee to Avi Mux Connection
- Previous by thread: Re: SOS... help required in implementing pull mechanism
- Next by thread: Problems building graph when overlay mixer is available
- Index(es):
Relevant Pages
|