X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmltdevicecapture.h;h=c811be876ef4409ff3cf88cb1a53bfb68d855867;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=91faa5baf4e8939cc97a7ff3c1bc7b45e696a295;hpb=8fc16957ff5417b21e68ca5d84de89bec38c5a1c;p=kdenlive diff --git a/src/mltdevicecapture.h b/src/mltdevicecapture.h index 91faa5ba..c811be87 100644 --- a/src/mltdevicecapture.h +++ b/src/mltdevicecapture.h @@ -1,4 +1,4 @@ -/*************************************************************************** + /*************************************************************************** mltdevicecapture.h - description ------------------- begin : Sun May 21 2011 @@ -25,7 +25,7 @@ #include "gentime.h" #include "definitions.h" -#include "abstractmonitor.h" +#include "widgets/abstractmonitor.h" #include @@ -39,7 +39,7 @@ class Frame; class Event; class Producer; class Profile; -}; +} class MltDeviceCapture: public AbstractRender { @@ -51,7 +51,7 @@ Q_OBJECT public: /** @brief Build a MLT 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 capture (default one will be used if empty). */ - MltDeviceCapture(QString profile, VideoSurface *surface, QWidget *parent = 0); + explicit MltDeviceCapture(QString profile, VideoSurface *surface, QWidget *parent = 0); /** @brief Destroy the MLT Renderer. */ ~MltDeviceCapture(); @@ -62,7 +62,7 @@ Q_OBJECT public: bool sendFrameForAnalysis; /** @brief Someone needs us to send again a frame. */ - void sendFrameUpdate() {}; + void sendFrameUpdate() {} void emitFrameUpdated(Mlt::Frame&); void emitFrameNumber(double position); @@ -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); @@ -137,14 +137,14 @@ signals: /** @brief A frame's image has to be shown. * * Used in Mac OS X. */ - void showImageSignal(QImage); + void showImageSignal(const QImage&); void frameSaved(const QString &); void droppedFrames(int); void unblockPreview(); - void imageReady(QImage); + void imageReady(const QImage &); public slots: