diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-07-01 09:00:55 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-07-08 15:16:25 +0200 |
commit | 0c1c6658f9e5719bd9e2321c683e3a33313a511b (patch) | |
tree | badd6f3e5d77a103d7143c411e733376115b2a5e /examples/multimedia/video/qmlvideo/qml | |
parent | 86f8db5856a0fde21e4cbe7620992e19affa751c (diff) |
Fix volume property
The media player doesn't have a volume property anymore, it's the
audio output that has it.
Change-Id: I5dd1ca42a63ae6d1b5b3e550616b20be5aa146c3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Bartlomiej Moskal <bartlomiej.moskal@qt.io>
Diffstat (limited to 'examples/multimedia/video/qmlvideo/qml')
-rw-r--r-- | examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml b/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml index c6159a9af..d34789c57 100644 --- a/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml +++ b/examples/multimedia/video/qmlvideo/qml/qmlvideo/VideoItem.qml @@ -60,7 +60,7 @@ VideoOutput { property alias metaData: mediaPlayer.metaData property alias playbackRate: mediaPlayer.playbackRate property alias position: mediaPlayer.position - property alias volume: mediaPlayer.volume + property alias volume: audioOutput.volume signal sizeChanged signal fatalError @@ -71,7 +71,7 @@ VideoOutput { id: mediaPlayer videoOutput: root; audioOutput: AudioOutput { - + id: audioOutput } onErrorOccurred: function(error, errorString) { |