mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
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:
parent
aaa01ac30a
commit
93b6cf7adb
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ public:
|
|||
if (callback_)
|
||||
callback_ (SampleTime, pBuffer, BufferLen, user_data_);
|
||||
|
||||
return E_NOTIMPL;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue