Gst capture service: capture mode fixes
Fixed reporting the current capture mode Set the correct default capture mode Allow viewfinder only and Video+Image capture modes Change-Id: Ib12504304bca22fe664631ff5ffbc0a392ba34a8 Reviewed-by: Ling Hu <ling.hu@nokia.com> Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
799a33e34d
commit
b3e8783334
@@ -66,10 +66,7 @@ public:
|
||||
QCamera::CaptureModes captureMode() const { return m_captureMode; }
|
||||
void setCaptureMode(QCamera::CaptureModes mode);
|
||||
|
||||
bool isCaptureModeSupported(QCamera::CaptureModes mode) const
|
||||
{
|
||||
return mode == QCamera::CaptureStillImage || mode == QCamera::CaptureVideo;
|
||||
}
|
||||
bool isCaptureModeSupported(QCamera::CaptureModes mode) const;
|
||||
|
||||
QCamera::LockTypes supportedLocks() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user