summaryrefslogtreecommitdiffstats
path: root/examples/multimediawidgets/camera/videosettings.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-03-05 12:15:59 +0100
committerLars Knoll <lars.knoll@qt.io>2021-03-17 09:27:36 +0000
commit625ae91bddb9f920494ac80ccc1ebe9f54a1ec2a (patch)
tree61db52ff51d7e0c7486ad48747ed59a3348da2cd /examples/multimediawidgets/camera/videosettings.cpp
parentc93b4b54c44ca28e34fe7e12cc2fb279f3e84b54 (diff)
Add a QMediaEncoder class
This class is currently a simply a rename of QMediaRecorder, but they will start to diverge in the next commits. QMediaRecorder is now an all-in-one class, that contains a QMediaCaptureSession and handles standard recording cases. QMediaEncoder will in the next couple of commits loose APIs that should be in other places in the capture pipeline. Change-Id: Ied1098092920610dac08e966078d44a22110bcf7 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimediawidgets/camera/videosettings.cpp')
-rw-r--r--examples/multimediawidgets/camera/videosettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/multimediawidgets/camera/videosettings.cpp b/examples/multimediawidgets/camera/videosettings.cpp
index 8b70b2014..439fb774f 100644
--- a/examples/multimediawidgets/camera/videosettings.cpp
+++ b/examples/multimediawidgets/camera/videosettings.cpp
@@ -54,12 +54,12 @@
#include <QComboBox>
#include <QSpinBox>
#include <QDebug>
-#include <QMediaRecorder>
+#include <QMediaEncoder>
#include <QMediaFormat>
#include <QAudioDeviceInfo>
#include <QCameraInfo>
-VideoSettings::VideoSettings(QMediaRecorder *mediaRecorder, QWidget *parent)
+VideoSettings::VideoSettings(QMediaEncoder *mediaRecorder, QWidget *parent)
: QDialog(parent),
ui(new Ui::VideoSettingsUi),
mediaRecorder(mediaRecorder)