summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/qmlvideo/qml
diff options
context:
space:
mode:
authorLars Sutterud <lars.sutterud@qt.io>2023-07-24 13:21:32 +0200
committerLars Sutterud <lars.sutterud@qt.io>2023-07-24 16:07:51 +0200
commit4d20cfc2eeb6cf076e9ff7ec71489fbf0b33dd25 (patch)
tree98fc4b2c7c8e30e22ea0e5ed9c1b6acdd99af203 /examples/multimedia/video/qmlvideo/qml
parentf2e2dd8f2ee37404075a87b4529588d64b53e2b6 (diff)
qmlvideo example: Remove "Size" metadata
In the metadata component the example tries to get data size using the key MediaMetaData.Size. However there is no Size field in the enum QMediaMetaData::Key. Adding this key and implementing a way to get the data size for video/audio streams would be a feature request. Fixes: QTBUG-99709 Pick-to: 6.2 6.5 6.6 Change-Id: Idd887081d638140ab87857b9d6e644e1f6c08da8 Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'examples/multimedia/video/qmlvideo/qml')
-rw-r--r--examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoMetadata.qml4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoMetadata.qml b/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoMetadata.qml
index 0f8e17b5d..d9b529607 100644
--- a/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoMetadata.qml
+++ b/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoMetadata.qml
@@ -33,10 +33,6 @@ Scene {
}
Text {
color: "#e0e0e0"
- text: "Size:" + videoMetaData.value(MediaMetaData.Size)
- }
- Text {
- color: "#e0e0e0"
text: "Resolution:" + videoMetaData.value(MediaMetaData.Resolution)
}
Text {