]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/capturehandler.cpp
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / stopmotion / capturehandler.cpp
index fc3a9b4989ca10f389824c3239f2a1f3c4af98dc..99318c7546401bc42f2085d3eb93aee8ead0dfc9 100644 (file)
  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
  ***************************************************************************/
 
-#include <KLocale>
+#include <KLocalizedString>
 
 #include "capturehandler.h"
 #include "kdenlivesettings.h"
 
 CaptureHandler::CaptureHandler(QVBoxLayout *lay, QWidget *parent):
     m_layout(lay),
-    m_parent(parent)
+    m_parent(parent),
+    m_analyseFrame(KdenliveSettings::analyse_stopmotion())
 {
 }
 
@@ -33,6 +34,11 @@ CaptureHandler::~CaptureHandler()
     stopCapture();
 }
 
+void CaptureHandler::setAnalyse(bool isOn)
+{
+    m_analyseFrame = isOn;
+}
+
 void CaptureHandler::stopCapture()
 {
 }
@@ -187,3 +193,5 @@ void CaptureHandler::yuyv2rgb(unsigned char *yuv_buffer, unsigned char *rgb_buff
 }
 
 
+
+#include "capturehandler.moc"