What is the best way to traverse through filters backwards starting with the renderers. What I'm doing is rendering a media file using filtergraph.render(), then I'm finding the renderering filters using FindFilterByName since they always have the same name. Then I want to go filter by filter backwards and remove filters. The problem is I can't use find by name since they will not always be named the same.
I looked at EnumFilters but it looks like you need to know the filter name so I'm not much better off.
Basically I need to be able to get a pin and then find the filter that is attached to it?
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What is the best way to traverse through filters backwards starting with the renderers. What I'm doing is rendering a media file using filtergraph.render(), then I'm finding the renderering filters using FindFilterByName since they always have the same name. Then I want to go filter by filter backwards and remove filters. The problem is I can't use find by name since they will not always be named the same.
I looked at EnumFilters but it looks like you need to know the filter name so I'm not much better off.
Basically I need to be able to get a pin and then find the filter that is attached to it?
Any ideas?
You mean like what you get from IPin::QueryPinInfo?
yes thank you, perfect