Fix QSGVideoNode rendering of rgb frames with padding.
Change-Id: I6870cfa51b01b648494e2068be06e52b67403739 Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au> Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
Yoann Lopes
parent
c93c1d1dc3
commit
5195520a5a
@@ -220,7 +220,7 @@ public:
|
||||
stride /= 4;
|
||||
}
|
||||
|
||||
m_width = qreal(m_frame.width() / stride);
|
||||
m_width = qreal(m_frame.width()) / stride;
|
||||
textureSize.setWidth(stride);
|
||||
|
||||
if (m_textureSize != textureSize) {
|
||||
|
||||
Reference in New Issue
Block a user