[Bug 795391] vaapi: problems when playing with glimagesink with egl
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Apr 30 10:13:32 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795391
--- Comment #29 from Hyunjun Ko <zzoon at igalia.com> ---
(In reply to Víctor Manuel Jáquez Leal from comment #11)
>
> ::: gst/vaapi/gstvaapipluginutil.c
> @@ +211,3 @@
> + GstGLDisplayEGL *egl_display;
> +
> + egl_display = gst_gl_display_egl_from_gl_display (gl_display);
>
> why not call here too gst_gl_display_get_handle() thus you could get a
> common guintptr variable, which could be null by default.
>
There are different cases.
If there's a gldisplaywayland in glcontextegl, in this case, we should call
gst_gl_display_egl_from_gl_display to retrieve EGLDisplay.
(This is the case that's using gst-play or totem.)
But if gldisplayegl in glcontextegl, we can use just gst_gl_display_get_handle.
(This is the case that's in WebkitGTK.)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list