#define STOPMOTION_H
#include "ui_stopmotion_ui.h"
-#include "../blackmagic/capture.h"
+#include "definitions.h"
#include <KUrl>
#include <QLabel>
{
Q_OBJECT
public:
- StopmotionMonitor(QWidget *parent);
+ StopmotionMonitor(MonitorManager *manager, QWidget *parent);
~StopmotionMonitor();
AbstractRender *abstractRender();
- const QString name() const;
+ Kdenlive::MONITORID id() const;
void setRender(MltDeviceCapture *render);
+ void pause();
+ void unpause();
private:
MltDeviceCapture *m_captureDevice;
public slots:
- virtual void stop();
- virtual void start();
+ void stop();
+ void start();
+ void slotPlay();
+ void slotMouseSeek(int eventDelta, bool fast);
+ void slotSwitchFullScreen();
signals:
void stopCapture();
/** @brief Capture holder that will handle all video operation. */
MltDeviceCapture *m_captureDevice;
- VideoPreviewContainer *m_videoBox;
+ VideoContainer *m_videoBox;
/** @brief Holds the name of the current sequence.
* Files will be saved in project folder with name: sequence001.png */
StopmotionMonitor *m_monitor;
/** @brief Create the XML playlist. */
- const QString createProducer(MltVideoProfile profile, const QString service, const QString resource);
+ const QString createProducer(MltVideoProfile profile, const QString &service, const QString &resource);
/** @brief A new frame arrived, reload overlay. */
void reloadOverlay();
void slotConfigure();
/** @brief Prepare to crete thumb for newly captured frame. */
- void slotNewThumb(const QString path);
+ void slotNewThumb(const QString &path);
/** @brief Set the effect to be applied to overlay frame. */
void slotUpdateOverlayEffect(QAction* act);
signals:
/** @brief Ask to add sequence to current project. */
- void addOrUpdateSequence(const QString);
+ void addOrUpdateSequence(const QString &);
void doCreateThumbs(QImage, int);
void gotFrame(QImage);