summaryrefslogtreecommitdiff
path: root/src/plugins/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android')
-rw-r--r--src/plugins/android/src/mediacapture/qandroidcameravideorenderercontrol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/android/src/mediacapture/qandroidcameravideorenderercontrol.cpp b/src/plugins/android/src/mediacapture/qandroidcameravideorenderercontrol.cpp
index 1f33b1e55..2243df732 100644
--- a/src/plugins/android/src/mediacapture/qandroidcameravideorenderercontrol.cpp
+++ b/src/plugins/android/src/mediacapture/qandroidcameravideorenderercontrol.cpp
@@ -108,7 +108,7 @@ QAndroidCameraDataVideoOutput::QAndroidCameraDataVideoOutput(QAndroidCameraVideo
QAndroidCameraDataVideoOutput::~QAndroidCameraDataVideoOutput()
{
- m_control->cameraSession()->setPreviewCallback(Q_NULLPTR);
+ m_control->cameraSession()->setPreviewCallback(nullptr);
delete m_surfaceView;
}
@@ -146,7 +146,7 @@ void QAndroidCameraDataVideoOutput::configureFormat()
}
if (m_pixelFormat == QVideoFrame::Format_Invalid) {
- m_control->cameraSession()->setPreviewCallback(Q_NULLPTR);
+ m_control->cameraSession()->setPreviewCallback(nullptr);
qWarning("The video surface is not compatible with any format supported by the camera");
} else {
m_control->cameraSession()->setPreviewCallback(this);