Re: How to add a filter?
- From: "The March Hare [MVP]" <phil@xxxxxxxxx>
- Date: Tue, 2 May 2006 06:56:26 -0600
On 2 May 2006 04:23:21 -0700, emetress wrote:
Now I
would want to know how can I add the new filter and connect it between
the smart tee and the renderer. I think first I shoul add the filter
(HOW????) and then connect it (HOW???).
You can:
- build the graph manually, adding the filters to the filter graph and then
connecting them together (see Connect Two Filters in the SDK docs)
or
- build the graph automatically then find the smart tee and renderer (see
IFilterGraph::FindFilterByName and "Find a Filter's Peer" in the SDK docs)
and manually disconnect it from the renderer, then insert your filter in
the graph, connect the output of the smart tee to your filter, and then
your filter to the renderer (Connect Two Filters)
--
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
.
- Follow-Ups:
- Re: How to add a filter?
- From: emetress
- Re: How to add a filter?
- References:
- How to add a filter?
- From: emetress
- How to add a filter?
- Prev by Date: Re: Filter for a Transcoder
- Next by Date: Cannot add "IMpeg2Data" interface to project.
- Previous by thread: How to add a filter?
- Next by thread: Re: How to add a filter?
- Index(es):
Relevant Pages
|
Loading