summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <jb@kdenlive.org>2017-07-10 18:03:33 (GMT)
committerJean-Baptiste Mardelle <jb@kdenlive.org>2017-07-10 18:03:33 (GMT)
commit078dc8d1e00d6ea7ec20245d6b4bb11f9ab4e655 (patch)
treee214f1ddea908a593dc7f4ce6bf3420cfcdbd73b
parent703360538d01d53e3de4b3a210fae5ed62381c9a (diff)
Fix crash when creating proxies - real issue not yet fixed
CCBUG: 381738
-rw-r--r--src/timeline/customtrackview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timeline/customtrackview.cpp b/src/timeline/customtrackview.cpp
index 230902a..273fff9 100644
--- a/src/timeline/customtrackview.cpp
+++ b/src/timeline/customtrackview.cpp
@@ -8405,6 +8405,10 @@ void CustomTrackView::slotImportClipKeyframes(GraphicsRectItem type, const ItemI
void CustomTrackView::slotReplaceTimelineProducer(const QString &id)
{
Mlt::Producer *prod = m_document->renderer()->getBinProducer(id);
+ if (!prod) {
+ qDebug()<<"* ** ERROR, CANNOT FIND BIN CLIP : "<<id;
+ return;
+ }
Mlt::Producer *videoProd = m_document->renderer()->getBinVideoProducer(id);
QList<Track::SlowmoInfo> allSlows;
for (int i = 1; i < m_timeline->tracksCount(); i++) {