summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bennett <nicholas.bennett@qt.io>2023-04-20 14:19:38 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-25 10:09:02 +0000
commit6859258a7fe9ef90728a2427e21f4ec8e58df6b4 (patch)
treefeaeabb791f34a773e17fe9a723adbbea66652a8
parente7e91084897af6e79f67af702dc714c7bb7d3e77 (diff)
downloadqtmultimedia-6859258a7fe9ef90728a2427e21f4ec8e58df6b4.tar.gz
Docs: Fix capturesession snippet in mediarecorder type documentation
Added "active: true". Task-number: QTBUG-112714 Change-Id: Ic122efcd8a8e742d7edefc54fdf443c758259b19 Reviewed-by: Artem Dyomin <artem.dyomin@qt.io> Reviewed-by: Bartlomiej Moskal <bartlomiej.moskal@qt.io> Reviewed-by: Lars Knoll <lars@knoll.priv.no> (cherry picked from commit fd64f3a8a3d418617ae793b8f5287430c0b45bd2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/multimedia/recording/qmediarecorder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/multimedia/recording/qmediarecorder.cpp b/src/multimedia/recording/qmediarecorder.cpp
index 773b0623f..2d0cc71be 100644
--- a/src/multimedia/recording/qmediarecorder.cpp
+++ b/src/multimedia/recording/qmediarecorder.cpp
@@ -59,6 +59,7 @@ QT_BEGIN_NAMESPACE
id: captureSession
camera: Camera {
id: camera
+ active: true
}
audioInput: AudioInput {}
recorder: MediaRecorder {