diff options
Diffstat (limited to 'src/plugins/avfoundation/camera/avfimagecapturecontrol.h')
-rw-r--r-- | src/plugins/avfoundation/camera/avfimagecapturecontrol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/avfoundation/camera/avfimagecapturecontrol.h b/src/plugins/avfoundation/camera/avfimagecapturecontrol.h index a0f3cf8ba..0671034e3 100644 --- a/src/plugins/avfoundation/camera/avfimagecapturecontrol.h +++ b/src/plugins/avfoundation/camera/avfimagecapturecontrol.h @@ -44,6 +44,7 @@ #include <QtCore/qqueue.h> #include <QtCore/qsemaphore.h> +#include <QtCore/qsharedpointer.h> #include <QtMultimedia/qcameraimagecapturecontrol.h> #include "avfcamerasession.h" #include "avfstoragelocation.h" @@ -56,7 +57,7 @@ Q_OBJECT public: struct CaptureRequest { int captureId; - QSemaphore *previewReady; + QSharedPointer<QSemaphore> previewReady; }; AVFImageCaptureControl(AVFCameraService *service, QObject *parent = 0); |