Hi all,
I am currently working on a prject using c# WPF with DirectShowLib to be able to render a mp4 file to a Decklinck quad 2 sdi output.
The code is now working correctly but when I try to get the availables pin I can't get another one than the first one. It's then not possible to display any video on the others.
I already correctly configured the card (I'm able to display on any pin from a file using GraphEditplus).
This is my code to get the different out pins :
- Code: Select all
Guid CLSID_ExternalRenderers = new Guid("{CC7BFB41-F175-11D1-A392-00E0291F3959}"); //external renderer
DsDevice[] devices = DsDevice.GetDevicesOfCat(CLSID_ExternalRenderers);
List<string> returnValues = new List<string>();
foreach (DsDevice device in devices)
{
returnValues.Add(device.Name);
}
return returnValues;
Don't know what i'm doing wrong with this.
Thanks in advance for your help.
Best regards,