Re: Graph spy
On 13 Dec 2006 01:56:38 -0800, Blow wrote:
Thanks Iain,
But I want to it by code...
not using GraphEdit...
Thanks,
Blow
I'm not sure why.
Hoever, you can enumerate all the filters in the graph
for each filter
enumerate the pins
for each pin, identify the direction and connected to pin
Which provides you with the nodes of a directed graph that you can do what
you want with.
Iain
--
Iain Downs (DirectShow MVP)
Commercial Software Therapist
www.idcl.co.uk
.
Relevant Pages
- Re: Automatically inserting a filter by another filter!
... > is there any way to add filter-y to the graph automatically, ... Directshow does this by design, although not exactly in the way you're ... filters to the graph when you attempt to render a pin; ... insert the needed filters into the graph to render a pin. ... (microsoft.public.win32.programmer.directx.video) - Build BDA Graph - Enum tuners
... Then I create the reciever component by enumerate ... create a graph with the Technotrend device the tuner device is ok but when I ... Am I doing this the wrong way or is there a bug in some of the filters? ... (microsoft.public.win32.programmer.directx.video) - Re: destroying graph
... Since the graph creates the filters, and you dont have a reference to ... enumerate them. ... I don't think there are circular references, ... (microsoft.public.win32.programmer.directx.video) - Re: destroying graph
... Since the graph creates the filters, and you dont have a reference to ... enumerate them. ... I don't think there are circular references, ... (microsoft.public.win32.programmer.directx.video) - Re: Reasons pins wont connect?
... The way I was constructing the graph was to actually do RenderFile or ... and then tear down a few filters and insert new ... that QueryAccept on the downstream Video Renderer says is "good" and ... THEN try to do a IPin::Connectbetween to the two pins, ... (microsoft.public.win32.programmer.directx.video) |
|