]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.cpp
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / markerdialog.cpp
index f86de6a7eb7dd1f891f554046e7899d173ca93fa..1eb48042acb6d621f2ec2de653b21c9f8f4c9218 100644 (file)
@@ -72,20 +72,22 @@ MarkerDialog::MarkerDialog(DocClipBase *clip, const CommentedTime &t, const Time
         int swidth = (int) (Kdenlive::DefaultThumbHeight * m_profile->width() / m_profile->height() + 0.5);
 
         switch (m_clip->clipType()) {
-        case VIDEO:
+        case Video:
         case AV:
-        case SLIDESHOW:
-        case PLAYLIST:
+        case SlideShow:
+        case Playlist:
             connect(this, SIGNAL(updateThumb()), m_previewTimer, SLOT(start()));
-        case IMAGE:
-        case TEXT:
+            break;
+        case Image:
+        case Text:
             m_image = KThumb::getFrame(m_producer, m_in->getValue(), swidth, width, Kdenlive::DefaultThumbHeight);
             p = QPixmap::fromImage(m_image);
             break;
-        case COLOR:
+        case Color:
             colour = colour.replace(0, 2, "#");
             p.fill(QColor(colour.left(7)));
             break;
+        //UNKNOWN, AUDIO, VIRTUAL:
         default:
             p.fill(Qt::black);
         }