summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideo/qml/qmlvideo/Content.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multimedia/video/qmlvideo/qml/qmlvideo/Content.qml')
-rw-r--r--examples/multimedia/video/qmlvideo/qml/qmlvideo/Content.qml8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/multimedia/video/qmlvideo/qml/qmlvideo/Content.qml b/examples/multimedia/video/qmlvideo/qml/qmlvideo/Content.qml
index 30b1e32b8..3094c1a3b 100644
--- a/examples/multimedia/video/qmlvideo/qml/qmlvideo/Content.qml
+++ b/examples/multimedia/video/qmlvideo/qml/qmlvideo/Content.qml
@@ -97,21 +97,16 @@ Rectangle {
}
function initialize() {
- console.log("[qmlvideo] Content.initialize: contentType " + contentType)
if ("video" == contentType) {
- console.log("[qmlvideo] Content.initialize: loading VideoItem.qml")
contentLoader.source = "VideoItem.qml"
if (Loader.Error == contentLoader.status) {
- console.log("[qmlvideo] Content.initialize: loading VideoDummy.qml")
contentLoader.source = "VideoDummy.qml"
dummy = true
}
contentLoader.item.volume = volume
} else if ("camera" == contentType) {
- console.log("[qmlvideo] Content.initialize: loading CameraItem.qml")
contentLoader.source = "CameraItem.qml"
if (Loader.Error == contentLoader.status) {
- console.log("[qmlvideo] Content.initialize: loading CameraDummy.qml")
contentLoader.source = "CameraDummy.qml"
dummy = true
}
@@ -127,12 +122,10 @@ Rectangle {
if (root.autoStart)
root.start()
}
- console.log("[qmlvideo] Content.initialize: complete")
root.initialized()
}
function start() {
- console.log("[qmlvideo] Content.start")
if (contentLoader.item) {
if (root.contentType == "video")
contentLoader.item.mediaSource = root.source
@@ -142,7 +135,6 @@ Rectangle {
}
function stop() {
- console.log("[qmlvideo] Content.stop")
if (contentLoader.item) {
contentLoader.item.stop()
if (root.contentType == "video")