summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/recorder
diff options
context:
space:
mode:
authorBartlomiej Moskal <bartlomiej.moskal@qt.io>2022-10-24 12:32:04 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-10-26 08:25:10 +0000
commit420adf48ba5e98406794b8816fec220fc6503757 (patch)
treedccb1d7d83d20bb1f3306363b0cf70e9c1e082d0 /examples/multimedia/video/recorder
parent43f72d6dd3b0ff554e9a4b44385b21bfc9df0bda (diff)
Example: Not working mute for AudioInput in recorder
The change of switch (next to audio Input source) should affect the example. Mute is now connected to the audioSwitch value. Fixes: QTBUG-107885 Change-Id: I7dd3495916f30dd713ebc7e9c8ae3ccbe734fd49 Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> Reviewed-by: Samuel Mira <samuel.mira@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit f14b25c9a3c9df370c8af3c88726a19a3cc617ca) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/multimedia/video/recorder')
-rw-r--r--examples/multimedia/video/recorder/AudioInputSelect.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/video/recorder/AudioInputSelect.qml b/examples/multimedia/video/recorder/AudioInputSelect.qml
index bb79f2793..757eab98f 100644
--- a/examples/multimedia/video/recorder/AudioInputSelect.qml
+++ b/examples/multimedia/video/recorder/AudioInputSelect.qml
@@ -60,7 +60,7 @@ Row {
MediaDevices { id: mediaDevices }
- AudioInput { id: audioInput; muted: false }
+ AudioInput { id: audioInput; muted: !audioSwitch.checked }
Switch {
id: audioSwitch;