[Bug 780064] New: gstglformat.c fails to compile with a warning.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 14 21:24:52 UTC 2017


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

            Bug ID: 780064
           Summary: gstglformat.c fails to compile with a warning.
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: scott.d.phillips at intel.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 347956
  --> https://bugzilla.gnome.org/attachment.cgi?id=347956&action=edit
[PATCH gst-plugins-bad] gl/format: correct return enums in
gst_gl_format_from_video_info

../subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglformat.c:157:14: error:
implicit conversion from enumeration type 'GstVideoGLTextureType' to different
enumeration type 'GstGLFormat' [-Werror,-Wenum-conversion]                      
      return GST_VIDEO_GL_TEXTURE_TYPE_RGB16;
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/gst-plugins-bad/gst-libs/gst/gl/gstglformat.c:200:10: error:
implicit conversion from enumeration type 'GstVideoGLTextureType' to different
enumeration type 'GstGLFormat' [-Werror,-Wenum-conversion]                      
  return GST_VIDEO_GL_TEXTURE_TYPE_RGBA;
  ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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