]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/stopmotion.cpp
Preliminary support for blackmagic capture (only .raw format for now, cannot be read...
[kdenlive] / src / stopmotion / stopmotion.cpp
index 674192862e4e228ebaee33772ab416cdb7255d0d..2522cd3bc6d10b97de3aac437fd0e8622bb812d6 100644 (file)
@@ -105,6 +105,7 @@ StopmotionWidget::StopmotionWidget(KUrl projectFolder, QWidget *parent) :
     BMInterface::getBlackMagicDeviceList(capture_device, NULL);
     QVBoxLayout *lay = new QVBoxLayout;
     m_bmCapture = new CaptureHandler(lay);
+    connect(m_bmCapture, SIGNAL(gotMessage(const QString &)), this, SLOT(slotGotHDMIMessage(const QString &)));
     m_frame_preview = new MyLabel(this);
     connect(m_frame_preview, SIGNAL(seek(bool)), this, SLOT(slotSeekFrame(bool)));
     lay->addWidget(m_frame_preview);
@@ -129,6 +130,11 @@ StopmotionWidget::~StopmotionWidget()
     m_bmCapture->stopPreview();
 }
 
+void StopmotionWidget::slotGotHDMIMessage(const QString &message)
+{
+    log_box->insertItem(0, message);
+}
+
 void StopmotionWidget::parseExistingSequences()
 {
     sequence_name->clear();