After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745902 - [vaapidecode] fails if glimagesink use egl/gles2
[vaapidecode] fails if glimagesink use egl/gles2
Status: RESOLVED FIXED
Product: gstreamer-vaapi
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gstreamer-vaapi maintainer(s)
gstreamer-vaapi maintainer(s)
Depends on:
Blocks: 743569
 
 
Reported: 2015-03-09 15:00 UTC by Julien Isorce
Modified: 2015-03-14 20:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vaapidisplay: mark X11 display as compatible with EGL (951 bytes, patch)
2015-03-09 15:02 UTC, Julien Isorce
none Details | Review

Description Julien Isorce 2015-03-09 15:00:15 UTC
GST_GL_WINDOW=x11 GST_GL_API=gles2 GST_GL_PLATFORM=egl gst-launch-1.0 filesrc location=sample.mp4 ! qtdemux ! h264parse ! vaapidecode ! glimagesink

ERROR vaapivideomemory gstvaapivideomemory.c:259:gst_video_meta_map_vaapi_memory: failed to make image current
ERROR: from element /GstPipeline:pipeline0/GstGLImageSink:glimagesink0: Failed to upload buffer
Comment 1 Julien Isorce 2015-03-09 15:02:02 UTC
Created attachment 298893 [details] [review]
vaapidisplay: mark X11 display as compatible with EGL
Comment 2 Víctor Manuel Jáquez Leal 2015-03-14 18:54:27 UTC
Yup, I confirm the bug and the patch LGTM :)
Comment 3 sreerenj 2015-03-14 20:21:38 UTC
Pushed, Thanks for the patch.
commit 200b1baabc066f8a4102f82f539655d588200ec9
Author: Julien Isorce <j.isorce@samsung.com>
Date:   Sat Mar 14 22:12:19 2015 +0200

    vaapidisplay: mark X11 display as compatible with EGL
    
    GST_GL_WINDOW=x11 GST_GL_API=gles2 GST_GL_PLATFORM=egl
    gst-launch-1.0 ... ! vaapidecode ! glimagesink
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745902
    
    Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>