Found by cppcheck.
---
src/mltdevicecapture.cpp | 2 +-
src/mltdevicecapture.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mltdevicecapture.cpp b/src/mltdevicecapture.cpp
index 7998aa2..a60f34a 100644
--- a/src/mltdevicecapture.cpp
+++ b/src/mltdevicecapture.cpp
@@ -504,7 +504,7 @@ void MltDeviceCapture::setOverlay(const QString &path)
//delete clip;
}
-void MltDeviceCapture::setOverlayEffect(const QString tag, QStringList
parameters)
+void MltDeviceCapture::setOverlayEffect(const QString &tag, QStringList
parameters)
{
if (m_mltProducer == NULL || !m_mltProducer->is_valid()) return;
Mlt::Service service(m_mltProducer->parent().get_service());
diff --git a/src/mltdevicecapture.h b/src/mltdevicecapture.h
index 30d695c..7ba44c2 100644
--- a/src/mltdevicecapture.h
+++ b/src/mltdevicecapture.h
@@ -89,7 +89,7 @@ Q_OBJECT public:
void setOverlay(const QString &path);
/** @brief This will add an MLT video effect to the overlay track. */
- void setOverlayEffect(const QString tag, QStringList parameters);
+ void setOverlayEffect(const QString &tag, QStringList parameters);
/** @brief This will add a horizontal flip effect, easier to work when
filming yourself. */
void mirror(bool activate);
--
1.7.5.4
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Kdenlive-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel