[Bug 740235] New: glcontext: build errors when GST_GL_HAVE_OPENGL is

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 16 20:06:40 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740235
  GStreamer | gst-plugins-bad | unspecified

           Summary: glcontext: build errors when GST_GL_HAVE_OPENGL is 0
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: vineeth.tm at samsung.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When compiling gst-plugins-bad, i am getting the below build errors

gstglcontext.c: In function 'gst_gl_context_get_current_gl_api':
gstglcontext.c:493:14: error: unused variable 'context_flags'
[-Werror=unused-variable]
       GLuint context_flags = 0;
              ^
gstglcontext.c:448:10: error: variable 'GetIntegerv' set but not used
[-Werror=unused-but-set-variable]
   void (*GetIntegerv) (GLenum name, GLuint * n);


This is happening because OpenGL is not present in my PC.

Moving variables within #if GST_GL_HAVE_OPENGL, for all those variables

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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