Re: Still have open references even after using CComPtr<>





On Oct 6, 10:28 am, "The March Hare [MVP]" <p...@xxxxxxxxx> wrote:
On 5 Oct 2006 16:41:47 -0700, dasturi wrote:

I am kind of stumped here,...

So am I. My signature below says "2. Trim & respond inline (please don't
top post or snip everything)" but you have failed to do that. Why?

Also, your post does not say whether you made all the changes I
recommended. Or if you are the least bit grateful for the time I have
spent trying to help you...

FRT(m_capture_graph_builder->SetOutputFileName(&CLSID_Dump,
L"f:\\test.m2t", &ppf , &m_file_sink ));I had another question in a separate post about the ppf variable. Why
didn't you answer that?

the ppf variable in the above method is an out variable," its a
pointer to the demux filter that receives the multiplexer's IBaseFilter
interface. You can use the pointer to the multiplexer filter, returned
in the ppf parameter, as the pSink parameter in the
ICaptureGraphBuilder2::RenderStream method."


Also, why are you calling "mIFileSinkFilter->Release();" in the additional
code you supplied ealier?

--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution

.



Relevant Pages