Fix crash when creating proxies - real issue not yet fixed

CCBUG: 381738
parent 70336053
...@@ -8405,6 +8405,10 @@ void CustomTrackView::slotImportClipKeyframes(GraphicsRectItem type, const ItemI ...@@ -8405,6 +8405,10 @@ void CustomTrackView::slotImportClipKeyframes(GraphicsRectItem type, const ItemI
void CustomTrackView::slotReplaceTimelineProducer(const QString &id) void CustomTrackView::slotReplaceTimelineProducer(const QString &id)
{ {
Mlt::Producer *prod = m_document->renderer()->getBinProducer(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); Mlt::Producer *videoProd = m_document->renderer()->getBinVideoProducer(id);
QList<Track::SlowmoInfo> allSlows; QList<Track::SlowmoInfo> allSlows;
for (int i = 1; i < m_timeline->tracksCount(); i++) { for (int i = 1; i < m_timeline->tracksCount(); i++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment