[Bug 795391] vaapi: problems when playing with glimagesink with egl

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 30 13:53:38 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795391

--- Comment #30 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
(In reply to Hyunjun Ko from comment #29)
> (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 can see my patch in attachment 371465 and use the variable display_type to
decide which API call use.

-- 
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