Skip to content

Commit 7444743

Browse files
committed
fix build error since cfa0997
1 parent e2b0bc2 commit 7444743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qml/SGVideoNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class SGVideoMaterial : public QSGMaterial
7878
*/
7979
void setCurrentFrame(const VideoFrame &frame) {
8080
m_material.setCurrentFrame(frame);
81-
setFlag(Blending, m_material.hasAlpha());
81+
setFlag(Blending, frame.format().hasAlpha());
8282
}
8383

8484
VideoMaterial* videoMaterial() { return &m_material;}

0 commit comments

Comments
 (0)