summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-08-17 03:00:51 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-08-17 03:00:51 +0200
commita31d981b08519922b4c9c17b17122c02c1734ef4 (patch)
treebf2068df8fa1158aa1c1d7eef3cf17dd13cc363d /src/plugins/gstreamer
parentf49bfa05d1f67327a33d2b66e9ff1bcc32ad8d05 (diff)
parent7b1bb300166aa19dc0f4c6838eb6d284af73236c (diff)
Merge remote-tracking branch 'origin/5.13' into dev
Diffstat (limited to 'src/plugins/gstreamer')
-rw-r--r--src/plugins/gstreamer/camerabin/camerabinv4limageprocessing.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/gstreamer/camerabin/camerabinv4limageprocessing.cpp b/src/plugins/gstreamer/camerabin/camerabinv4limageprocessing.cpp
index 6ca1dbe94..46b9e4616 100644
--- a/src/plugins/gstreamer/camerabin/camerabinv4limageprocessing.cpp
+++ b/src/plugins/gstreamer/camerabin/camerabinv4limageprocessing.cpp
@@ -124,7 +124,8 @@ QVariant CameraBinV4LImageProcessing::parameter(
QMap<ProcessingParameter, SourceParameterValueInfo>::const_iterator sourceValueInfo =
m_parametersInfo.constFind(parameter);
if (sourceValueInfo == m_parametersInfo.constEnd()) {
- qWarning() << "Unable to get the parameter value: the parameter is not supported.";
+ if (!m_parametersInfo.empty())
+ qWarning() << "Unable to get the unsupported parameter:" << parameter;
return QVariant();
}
@@ -178,7 +179,8 @@ void CameraBinV4LImageProcessing::setParameter(
QMap<ProcessingParameter, SourceParameterValueInfo>::const_iterator sourceValueInfo =
m_parametersInfo.constFind(parameter);
if (sourceValueInfo == m_parametersInfo.constEnd()) {
- qWarning() << "Unable to set the parameter value: the parameter is not supported.";
+ if (!m_parametersInfo.empty())
+ qWarning() << "Unable to set the unsupported parameter:" << parameter;
return;
}