implement QVideoProbe for iOS camera
This commit allows to use QVideoProbe for QCamera on iOS. The logic for the implementation is taken from the Android plugin. [ChangeLog][Platform Specific Changes][iOS] QVideoProbe support is implemented for QCamera on iOS Change-Id: I1db50defa8518287c4f1f3cc6602881702a95849 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
Yoann Lopes
parent
9267a7833c
commit
762ff94f67
@@ -240,6 +240,8 @@ void AVFVideoRendererControl::syncHandleViewfinderFrame(const QVideoFrame &frame
|
||||
m_lastViewfinderFrame.unmap();
|
||||
m_lastViewfinderFrame = QVideoFrame(mirrored);
|
||||
}
|
||||
if (m_cameraSession && m_lastViewfinderFrame.isValid())
|
||||
m_cameraSession->onCameraFrameFetched(m_lastViewfinderFrame);
|
||||
}
|
||||
|
||||
void AVFVideoRendererControl::handleViewfinderFrame()
|
||||
|
||||
Reference in New Issue
Block a user