]> git.sesse.net Git - kdenlive/blobdiff - src/blackmagic/capture.cpp
Stopmotion widget: Improved webcam support, taken from the fswebcam project
[kdenlive] / src / blackmagic / capture.cpp
index 505c0858e3a161e322fbf2b4332f70267c0b532e..2989cacfbb3da89abb028c49a8641d52eddcacc8 100644 (file)
@@ -331,7 +331,7 @@ void DeckLinkCaptureDelegate::slotProcessFrame()
     } else {
         QImage image(videoFrame->GetWidth(), videoFrame->GetHeight(), QImage::Format_ARGB32_Premultiplied);
         //convert from uyvy422 to rgba
-        CaptureHandler::yuv2rgb((uchar *)frameBytes, (uchar *)image.bits(), videoFrame->GetWidth(), videoFrame->GetHeight());
+        CaptureHandler::uyvy2rgb((uchar *)frameBytes, (uchar *)image.bits(), videoFrame->GetWidth(), videoFrame->GetHeight());
         image.save(capturePath);
         emit frameSaved(capturePath);
     }
@@ -814,6 +814,10 @@ void BmdCaptureHandler::hideOverlay()
     if (previewView) previewView->hideOverlay();
 }
 
+void BmdCaptureHandler::setDevice(const QString , QString)
+{
+}
+
 void BmdCaptureHandler::hidePreview(bool hide)
 {
     if (previewView) previewView->setHidden(hide);