I have 4 filters video input filter obtained from enum monikers, a smart tee, sample grabber, and null renderer, when I start with higher resolution I first create all the filters and run the media control.
IAMStreamConfig:: GetStreamCaps -to see all the modes available
ISampleGrabber::SetCallback, with ISampleGrabberCB::SampleCB option, I'm able to call getCurrentBuffer() to get frames,
when I want to change the format, I do all the steps but on request for the frame using the callback method I don't get any frames()
What are the usual steps for changing the format dynamically, I did try the same by stopping the media control, changing the format using SetFormat()
and run again, still no luck