Fix MediaFoundation format enumeration in VideoCaptureDeviceFactoryWin
After crrev.com/791485 GetSupportedFormatsMediaFoundation() was called with a null ComPtr<>, so the formats were not enumerated. As result DirectShow API was used instead of MediaFoundation. Fixed the call to make sure formats are enumerated properly. Bug: 1112947 Change-Id: I1beb0ee4c1d66826225efe8a27cb45eeb850d41a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2337635 Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Guido Urdaneta <guidou@chromium.org> Commit-Queue: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#795453}
Showing
Please register or sign in to comment