[Bug 766206] New: plugins: negotiate GstGLContext during the GstContext sharing

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 10 08:02:00 UTC 2016


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

            Bug ID: 766206
           Summary: plugins: negotiate GstGLContext during the GstContext
                    sharing
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vjaquez at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

>From the mailing list:

https://lists.freedesktop.org/archives/gstreamer-devel/2016-February/056469.html

---8<------

> - in gst_vaapi_texture_glx_new_wrapped(), a default gl_api seems to be                                                                                                                                           
> searched once by calling the method gl_get_current_api() before reception of                                                                                                                                     
> the query allocation containing my "gst.gl.GstGLContext"                                                                                                                                                         
> in my case, the GL version is "4.5.0 NVIDIA 358.16", GL_CONTEXT_PROFILE_MASK                                                                                                                                     
> = 0 (seems to be a bug on nvidia card) : the method gl_get_current_api()                                                                                                                                         
> can't decode the version and return GST_VAAPI_GL_API_NONE !!                                                                                                                                                     
> my gl_api (GL_API_OPENGL) contained in the GLContext (in the query                                                                                                                                               
> allocation) is never read, nor the environment variable GST_GL_API,                                                                                                                                              
> ........................................                                                                                                                                                                         
>                                                                                                                                                                                                                  
>                                                                                                                                                                                                                  
> to continue, I modify gl_get_current_api() to return GST_VAAPI_GL_API_OPENGL                                                                                                                                     

Perhaps vaapi element should query for the GstGLContext using the context
mechanism, rather than rely on the allocation query.

-----8<------

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