]> git.sesse.net Git - kdenlive/commitdiff
Fix crash when changing speed of a clip that has a fade: http://kdenlive.org/mantis...
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 23 Dec 2012 19:42:48 +0000 (20:42 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 23 Dec 2012 19:42:48 +0000 (20:42 +0100)
src/customtrackview.cpp
src/doubleparameterwidget.cpp

index 04f80b8defbf8cef55f17404aadbfe402dfcfcf3..89e46511c13b33b1bfdd4eb392161bbc0d099003 100644 (file)
@@ -4260,7 +4260,7 @@ void CustomTrackView::doChangeClipSpeed(ItemInfo info, ItemInfo speedIndependant
         item->updateRectGeometry();
         if (item->cropDuration().frames(m_document->fps()) != endPos)
             item->resizeEnd((int) info.startPos.frames(m_document->fps()) + endPos - 1);
-        updatePositionEffects(item, info);
+        updatePositionEffects(item, info, false);
         setDocumentModified();
     } else {
         emit displayMessage(i18n("Invalid clip"), ErrorMessage);
index 136a3bcba32862882bea20dbbefeaf65a97d5e7f..9aa55e9b2495a3804a9cc9a8ae4ee6fe6268156e 100644 (file)
@@ -53,7 +53,7 @@ DoubleParameterWidget::DoubleParameterWidget(const QString &name, double value,
         m_commentLabel->setHidden(true);
         layout->addWidget(m_commentLabel, 1, 0, 1, -1);
     }
-    m_dragVal->setValue(value);
+    m_dragVal->setValue(value, false);
     connect(m_dragVal, SIGNAL(valueChanged(double, bool)), this, SLOT(slotSetValue(double, bool)));
     connect(m_dragVal, SIGNAL(inTimeline(int)), this, SIGNAL(setInTimeline(int)));
 }