Gst Capture: image capture fixes
Report camera is ready to capture only in image capture modes; Emit capture failed if camera not configured for capture Change-Id: Ia2b92e2f8c760db948185a29c3e5ceae81dd3af4 Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com> Reviewed-by: Ling Hu <ling.hu@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
b3e8783334
commit
8bdceb9357
@@ -773,6 +773,11 @@ QGstreamerCaptureSession::State QGstreamerCaptureSession::state() const
|
||||
return m_state;
|
||||
}
|
||||
|
||||
QGstreamerCaptureSession::State QGstreamerCaptureSession::pendingState() const
|
||||
{
|
||||
return m_pendingState;
|
||||
}
|
||||
|
||||
void QGstreamerCaptureSession::setState(QGstreamerCaptureSession::State newState)
|
||||
{
|
||||
if (newState == m_pendingState && !m_waitingForEos)
|
||||
|
||||
Reference in New Issue
Block a user