Capture: Fix resolution change with EVR, VMR renderless and madVR.
Add support for OSD in the capture mode.