Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1
gstreamer-plugins-vaapi
gst-vaapi-egl-mark-context-wrapped.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gst-vaapi-egl-mark-context-wrapped.patch of Package gstreamer-plugins-vaapi
From 1660bd0df1817f2232328c41bb2f5fc54ff41f6b Mon Sep 17 00:00:00 2001 From: Hyunjun Ko <zzoon@igalia.com> Date: Tue, 24 Apr 2018 18:12:44 +0900 Subject: libs: egl: utils: mark context as wrapped when it is The returning egl context may be null, so we should check the return value. https://bugzilla.gnome.org/show_bug.cgi?id=795391 --- gst-libs/gst/vaapi/gstvaapiutils_egl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst-libs/gst/vaapi/gstvaapiutils_egl.c b/gst-libs/gst/vaapi/gstvaapiutils_egl.c index 0f03909..00b9124 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_egl.c +++ b/gst-libs/gst/vaapi/gstvaapiutils_egl.c @@ -1083,11 +1083,15 @@ egl_context_new_wrapped (EglDisplay * display, EGLContext gl_context) args.display = display; args.config = config; args.gl_parent_context = gl_context; + args.context = NULL; success = egl_display_run (display, (EglContextRunFunc) do_egl_context_new, &args); egl_object_unref (config); if (!success) return NULL; + + if (args.context) + args.context->base.is_wrapped = TRUE; return args.context; } -- cgit v1.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor