mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
msdk: enable GPUCopy
Note it works for system memory only Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/910>
This commit is contained in:
parent
1d082baf18
commit
9443bf7a22
1 changed files with 4 additions and 0 deletions
|
@ -199,6 +199,10 @@ msdk_open_session (mfxIMPL impl)
|
|||
"HARDWARE3", "HARDWARE4", "RUNTIME"
|
||||
};
|
||||
|
||||
#if (MFX_VERSION >= 1025)
|
||||
init_par.GPUCopy = 1;
|
||||
#endif
|
||||
|
||||
status = MFXInitEx (init_par, &session);
|
||||
if (status != MFX_ERR_NONE) {
|
||||
GST_ERROR ("Intel Media SDK not available (%s)",
|
||||
|
|
Loading…
Reference in a new issue