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
@ -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…
x
Reference in New Issue
Block a user