[Bug 777760] New: vulkan: Usage of wrong enum in gst_vulkan_format_from_video_format()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 25 18:53:23 UTC 2017


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

            Bug ID: 777760
           Summary: vulkan: Usage of wrong enum in
                    gst_vulkan_format_from_video_format()
    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: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: ystreet00 at gmail.com
     GNOME version: ---

> vkimagememory.c:64:14: warning: implicit conversion from enumeration type 'GstVideoGLTextureType' to different enumeration type 'VkFormat' (aka 'enum VkFormat') [-Wenum-conversion]
>      return GST_VIDEO_GL_TEXTURE_TYPE_RGB16;
>      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This looks wrong and should be one of the VkFormat enums I guess. But which?
VK_FORMAT_R5G6B5_UNORM_PACK16 and VK_FORMAT_B5G6R5_UNORM_PACK16 depending on
order? But then, why is the order ignored for the other ones although there is
VK_FORMAT_B8G8R8_UNORM and VK_FORMAT_R8G8B8_UNORM

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