[Bug 719439] New: qtquick2videosink: Wrong uniform value is set for GST_VIDEO_FORMAT_I420 in VideoMaterialShader::updateState()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 27 09:30:07 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=719439
  GStreamer | qt-gstreamer | git

           Summary: qtquick2videosink: Wrong uniform value is set for
                    GST_VIDEO_FORMAT_I420 in
                    VideoMaterialShader::updateState()
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: qt-gstreamer
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: benjamin.federau at basyskom.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When using the qmlplayer2 example the colors of the Big Buck Bunny video are
not correct. 

Inside the VideoMaterialShader::updateState() function the m_id_rgbTexture var
is used to set the uniform value for RGB or YUV textures. If the video format
is GST_VIDEO_FORMAT_I420 the m_id_rgbTexture var is -1. Because of this the
uniform value for RGB textures is set. This causes the incorrect colors of the
video.

The attached patch solves this for me.

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