summaryrefslogtreecommitdiff
path: root/src/multimedia/platform/gstreamer/mediacapture/qgstreamercameracontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/platform/gstreamer/mediacapture/qgstreamercameracontrol.cpp')
-rw-r--r--src/multimedia/platform/gstreamer/mediacapture/qgstreamercameracontrol.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/multimedia/platform/gstreamer/mediacapture/qgstreamercameracontrol.cpp b/src/multimedia/platform/gstreamer/mediacapture/qgstreamercameracontrol.cpp
index 79afd2f83..23902ec55 100644
--- a/src/multimedia/platform/gstreamer/mediacapture/qgstreamercameracontrol.cpp
+++ b/src/multimedia/platform/gstreamer/mediacapture/qgstreamercameracontrol.cpp
@@ -47,7 +47,7 @@
QGstreamerCameraControl::QGstreamerCameraControl(QGstreamerCaptureSession *session)
- : QCameraControl(session),
+ : QPlatformCamera(session),
m_session(session),
m_state(QCamera::UnloadedState),
m_status(QCamera::UnloadedStatus),
@@ -158,9 +158,9 @@ bool QGstreamerCameraControl::canChangeProperty(PropertyChangeType changeType, Q
Q_UNUSED(status);
switch (changeType) {
- case QCameraControl::ImageEncodingSettings:
- case QCameraControl::VideoEncodingSettings:
- case QCameraControl::Viewfinder:
+ case QPlatformCamera::ImageEncodingSettings:
+ case QPlatformCamera::VideoEncodingSettings:
+ case QPlatformCamera::Viewfinder:
return true;
default:
return false;