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:
Haihao Xiang 2019-12-10 19:54:43 +08:00 committed by GStreamer Merge Bot
parent 1d082baf18
commit 9443bf7a22

View file

@ -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)",