summaryrefslogtreecommitdiff
path: root/tests/auto/discoverertest.cpp
authorBenjamin Federau <benjamin.federau@basyskom.com>2014-02-03 11:45:20 (GMT)
committer George Kiagiadakis <george.kiagiadakis@collabora.com>2014-02-03 11:46:45 (GMT)
commit10798183484bc2ae7496db0c1193109d1702d4b5 (patch) (side-by-side diff)
tree27d0ed832af51e3c82441ad04039a15257fb2e19 /tests/auto/discoverertest.cpp
parentb9b156bfc4e866b9f5055dc8ed86a7f322e0ce2a (diff)
downloadqt-gstreamer-master.zip
qt-gstreamer-master.tar.gz
qtquick2videosink: fix wrong uniform value set for GST_VIDEO_FORMAT_I420 in VideoMaterialShader::updateState()HEADmaster
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. This patch fixes this bug. https://bugzilla.gnome.org/show_bug.cgi?id=719439
Diffstat (limited to 'tests/auto/discoverertest.cpp') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions