X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmltdevicecapture.h;h=032de2ceda90534d49f57c1c58c86f6fc3f35bfe;hb=aa17f2397f8cb15489c4b03cd78e9ee16cd2f485;hp=b0004a31519c86c0b630394bd6779a39b207616b;hpb=fb460899af4f72c9d4c328d9a6a2253e4a35b173;p=kdenlive diff --git a/src/mltdevicecapture.h b/src/mltdevicecapture.h index b0004a31..032de2ce 100644 --- a/src/mltdevicecapture.h +++ b/src/mltdevicecapture.h @@ -1,4 +1,4 @@ -/*************************************************************************** + /*************************************************************************** mltdevicecapture.h - description ------------------- begin : Sun May 21 2011 @@ -30,7 +30,8 @@ #include #include - +#include + namespace Mlt { class Consumer; @@ -50,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(); @@ -61,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);