Would someone just show me an example of how this createfilter method in directshow should work?
I see that a string is passed as a parameter but I don't understand what that string exactly is. I only understand the GUID part of it.
Would someone just show me an example of how this createfilter method in directshow should work?
I see that a string is passed as a parameter but I don't understand what that string exactly is. I only understand the GUID part of it.
There is no CreateFilter
method and even identifier in latest DirectShow.NET 2.1.
There are CreateFilter
methods in a couple of sample projects and they do the action explained in comment right there.
/// <summary>
/// Enumerates all filters of the selected category and returns the IBaseFilter for the
/// filter described in friendlyname
/// </summary>
/// <param name="category">Category of the filter</param>
/// <param name="friendlyname">Friendly name of the filter</param>
/// <returns>IBaseFilter for the device</returns>
private IBaseFilter CreateFilter(Guid category, string friendlyname)
{