dman_lfc said:Josh,
The three cards I have the 'Tuner' device and 'Capture' device all start with the same name.
i.e. 713x or TechnoTrend or Pinnacle.
What if you dump the first word of the chosen Tuner filter then enumerate this into the graph and based on this string also enumerate the Capture component.
Do you have the book 'Programming Directshow For Digital Video & Tv' btw?
DMAN.
The reason the cards all have the same name is because i didn't make the findDevice function return the name of the filter so i hardcoded the name to be Tuner/Capture Device.
As for enumerating the filter and matching a name, that could partially work, but if you have 2 cards of the same manufacturer than you will still need to guess which one is which. Having two cards with the same name is dtill going to cause problems when selecting a card anyway, assuming that a system can have two of the same name in the first place.
And no i dont have that book, i've learn this stuff by writing it, looking at the msdn library and sdk docs.
Josh