From: Montel Laurent Date: Mon, 3 Jun 2013 07:36:41 +0000 (+0200) Subject: Const'ref X-Git-Url: https://git.sesse.net/?p=kdenlive;a=commitdiff_plain;h=99286622cdb61bf7ebb79951a816296817b6f192 Const'ref --- diff --git a/src/mltdevicecapture.cpp b/src/mltdevicecapture.cpp index 64edbd78..425b81a6 100644 --- a/src/mltdevicecapture.cpp +++ b/src/mltdevicecapture.cpp @@ -614,7 +614,7 @@ void MltDeviceCapture::setOverlay(const QString &path) //delete clip; } -void MltDeviceCapture::setOverlayEffect(const QString &tag, QStringList parameters) +void MltDeviceCapture::setOverlayEffect(const QString &tag, const QStringList ¶meters) { 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 ffba41df..ea7291c9 100644 --- a/src/mltdevicecapture.h +++ b/src/mltdevicecapture.h @@ -86,7 +86,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, const QStringList ¶meters); /** @brief This will add a horizontal flip effect, easier to work when filming yourself. */ void mirror(bool activate);