Fix QSGVideoNode rendering of frames with stride != width.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Wed, 14 May 2014 04:18:16 +0000 (04:18 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 15 May 2014 10:45:06 +0000 (12:45 +0200)
commitc376e13abdcce32e65512db1236cb4b41d4fa1ea
tree331fef70cfe7b643c776b53f71d7dbdf5936d4da
parent9cf77e3bb531320f3c982a88ee31df8a75482f13
Fix QSGVideoNode rendering of frames with stride != width.

Adjust texture coordinates to not render padding at the end of lines,
and better calculate the stride of UV planes.

Task-number: QTBUG-38218
Task-number: QTBUG-30447
Change-Id: I7b7577979719c48460b838f7dcc89b9d17741f79
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/qtmultimediaquicktools/qsgvideonode_i420.cpp
src/qtmultimediaquicktools/qsgvideonode_rgb.cpp