X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmltdevicecapture.h;h=535728e24d4d186f7ef99937e327c850543b13d0;hb=65401d13c29f706eb03b6850d74c2694184243da;hp=27c5234636f11bf563180c67ad053d6f6f64141c;hpb=ddcc903a2d2363bec128c1effd7a4f6c1e820f82;p=kdenlive diff --git a/src/mltdevicecapture.h b/src/mltdevicecapture.h index 27c52346..535728e2 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; @@ -38,7 +39,7 @@ class Frame; class Event; class Producer; class Profile; -}; +} class MltDeviceCapture: public AbstractRender { @@ -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, VideoContainer *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); @@ -108,7 +109,7 @@ private: int m_frameCount; /** @brief The surface onto which the captured frames should be painted. */ - VideoContainer *m_captureDisplayWidget; + VideoSurface *m_captureDisplayWidget; /** @brief A human-readable description of this renderer. */ int m_winid;