X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fabstractmonitor.h;h=537f5d74d470ccedc3db9158b0de880698f424f4;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=db7ab3a5a241f8138eddcfff01ab0616efc53408;hpb=3cec1c93808c28644c97907a5698568df0971b3d;p=kdenlive diff --git a/src/abstractmonitor.h b/src/abstractmonitor.h index db7ab3a5..537f5d74 100644 --- a/src/abstractmonitor.h +++ b/src/abstractmonitor.h @@ -41,7 +41,13 @@ Q_OBJECT public: * @param name A unique identifier for this renderer * @param winid The parent widget identifier (required for SDL display). Set to 0 for OpenGL rendering * @param profile The MLT profile used for the renderer (default one will be used if empty). */ - explicit AbstractRender(Kdenlive::MONITORID name, QWidget *parent = 0):QObject(parent), sendFrameForAnalysis(false), analyseAudio(false), m_name(name) {} + explicit AbstractRender(Kdenlive::MONITORID name, QWidget *parent = 0) + : QObject(parent), + sendFrameForAnalysis(false), + analyseAudio(false), + m_name(name) + { + } /** @brief Destroy the MLT Renderer. */ virtual ~AbstractRender() {} @@ -62,10 +68,10 @@ private: signals: /** @brief The renderer refreshed the current frame. */ - void frameUpdated(QImage); + void frameUpdated(const QImage &); /** @brief This signal contains the audio of the current frame. */ - void audioSamplesSignal(QVector,int,int,int); + void audioSamplesSignal(const QVector&,int,int,int); };