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>
This commit is contained in:
Seungha Yang 2022-11-10 06:03:45 +09:00
parent aaa01ac30a
commit 93b6cf7adb

View file

@ -168,7 +168,7 @@ public:
if (callback_)
callback_ (SampleTime, pBuffer, BufferLen, user_data_);
return E_NOTIMPL;
return S_OK;
}
private: