summaryrefslogtreecommitdiff
path: root/src/plugins/avfoundation/camera/avfcamerasession.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/avfoundation/camera/avfcamerasession.h')
-rw-r--r--src/plugins/avfoundation/camera/avfcamerasession.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/avfoundation/camera/avfcamerasession.h b/src/plugins/avfoundation/camera/avfcamerasession.h
index 7b25a99c..2b322cfa 100644
--- a/src/plugins/avfoundation/camera/avfcamerasession.h
+++ b/src/plugins/avfoundation/camera/avfcamerasession.h
@@ -83,6 +83,8 @@ public:
void removeProbe(AVFMediaVideoProbeControl *probe);
FourCharCode defaultCodec();
+ AVCaptureDeviceInput *videoInput() const {return m_videoInput;}
+
public Q_SLOTS:
void setState(QCamera::State state);