mfvideosrc: Return S_OK from ISampleGrabberCB callback
authorSeungha Yang <seungha@centricular.com>
Wed, 9 Nov 2022 21:03:45 +0000 (06:03 +0900)
committerSeungha Yang <seungha@centricular.com>
Wed, 9 Nov 2022 21:03:45 +0000 (06:03 +0900)
commit93b6cf7adb413770d9d43910d9e98da7deccbcdf
tree09cd2698c917892392b619d39a0a2b423971ebaf
parentaaa01ac30a97f549b14b2f915858c0ccfad28a1d
mfvideosrc: Return S_OK from ISampleGrabberCB callback

The Microsoft's ISampleGrabber implementation seems to be ignoring
the HRESULT return value from the callback though,
S_OK is the right HRESULT code.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3379>
subprojects/gst-plugins-bad/sys/mediafoundation/gstmfcapturedshow.cpp