summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml')
-rw-r--r--examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml b/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml
index 105d0cca1..3ee257ffa 100644
--- a/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml
+++ b/examples/multimedia/video/qmlvideo/qml/qmlvideo/CameraItem.qml
@@ -51,7 +51,7 @@
import QtQuick
import QtMultimedia
-VideoOutput {
+Item {
id: root
height: width
@@ -80,7 +80,12 @@ VideoOutput {
// resolution: "640x480"
// frameRate: 30
}
- videoOutput: root
+ videoOutput: videoOutput
+ }
+
+ VideoOutput {
+ id: videoOutput
+ anchors.fill: parent
}