diff options
author | Matthew Waters <matthew@centricular.com> | 2019-09-18 15:29:03 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2019-09-18 05:36:52 +0000 |
commit | 2e8cdac0595a30c22d537b2bbee1c12816d1e1e1 (patch) | |
tree | 91ba43bc3b624e022a96049cc6c4069759b391c5 /gst-libs | |
parent | 6693be476c42ff841c079a1a1c5d477229cfac28 (diff) |
egl: don't advertise a wrapped EGLContext as actually wrapped
It's not actually wrapped as we create a new EGLContext from the passed
in EGLContext. As a result, the created EGLContext was never destroyed.
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiutils_egl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiutils_egl.c b/gst-libs/gst/vaapi/gstvaapiutils_egl.c index 0bd02505..801aef2b 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_egl.c +++ b/gst-libs/gst/vaapi/gstvaapiutils_egl.c @@ -1124,8 +1124,6 @@ egl_context_new_wrapped (EglDisplay * display, EGLContext gl_context) if (!success) return NULL; - if (args.context) - args.context->base.is_wrapped = TRUE; return args.context; } |