mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +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_)
|
if (callback_)
|
||||||
callback_ (SampleTime, pBuffer, BufferLen, user_data_);
|
callback_ (SampleTime, pBuffer, BufferLen, user_data_);
|
||||||
|
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue