summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-03-25 18:04:03 +0100
committerLars Knoll <lars.knoll@qt.io>2021-04-07 14:51:17 +0000
commitf66c18bc51989ae5388b333c2b2804dd7b6e3f1a (patch)
tree537f8ed94945053648f44160c4cbcdd0c7963eac /examples
parent0ce875a4e302afc5b67ec63d35051d90e486db79 (diff)
Use the infra in QVideoSurfaceFormat to get shaders and uniforms
frame mapping is still done in qtmultimediaquicktools, but once that's moved as well, we can radically simplify the rendering code there. Change-Id: Ia56c8b62c5726f1bfea0b0c4c46a81e103141e9e Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneBasic.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneBasic.qml b/examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneBasic.qml
index 6c9c3ae2a..b5ea072ba 100644
--- a/examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneBasic.qml
+++ b/examples/multimedia/video/qmlvideo/qml/qmlvideo/SceneBasic.qml
@@ -60,7 +60,7 @@ Scene {
id: content
autoStart: parent.autoStart
started: parent.started
- anchors.centerIn: parent
+ anchors.fill: parent
width: parent.contentWidth
contentType: parent.contentType
source: parent.source1