I would like to be able to set the DS Filter by the IAMStreamConfig.
First thing I noticed when enumerating the device. You return RGB as 32 bit value. So I guess this is RGBA. Most web cams today do this as 24bit RGB value. So some software might need changed to select this when looking for RGB.
After I iterate and find a matching frame size…I set it by calling IAMStreamConfig::SetFormat(). This appears to work as IAMStreamConfig::GetFormat() shows the new values. But my app still receives a default 640 x 480 frame size. Not the 320 x 240 I found.
Is this expected. Is there another approach to get this working in DirectShow?
Is there a way I can hack the default to play around with the different settings. I checked out the SDK, and it is not clear to me that I can set this value when using DirectShow here. I am using C/C++ if that matters.
Thx,
Matt