summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <jb@kdenlive.org>2016-12-02 13:52:00 (GMT)
committerJean-Baptiste Mardelle <jb@kdenlive.org>2016-12-02 13:52:00 (GMT)
commit67eb1aeaa5c3b50d4ebc41fc2775ccff168b3d6c (patch)
treee58a689be962d3662d2b9d8bb718b4f62eefb1d2
parentbaabfafe6fa546ce968a4eb523d1e1f3b2db2f81 (diff)
Don't check for missing resources in playlist if producer does not use a real file (like counter, noise, ...)
-rw-r--r--src/doc/documentchecker.cpp4
-rw-r--r--src/onmonitoritems/rotoscoping/rotowidget.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/documentchecker.cpp b/src/doc/documentchecker.cpp
index a85c62b..0900085 100644
--- a/src/doc/documentchecker.cpp
+++ b/src/doc/documentchecker.cpp
@@ -117,10 +117,12 @@ bool DocumentChecker::hasErrorInClips()
m_missingFonts.clear();
max = documentProducers.count();
QStringList verifiedPaths;
+ QStringList serviceToCheck;
+ serviceToCheck << QStringLiteral("kdenlivetitle") << QStringLiteral("qimage") << QStringLiteral("pixbuf") << QStringLiteral("timewarp") << QStringLiteral("framebuffer");
for (int i = 0; i < max; ++i) {
e = documentProducers.item(i).toElement();
QString service = EffectsList::property(e, QStringLiteral("mlt_service"));
- if (service == QLatin1String("colour") || service == QLatin1String("color")) continue;
+ if (!service.startsWith(QLatin1String("avformat")) && !serviceToCheck.contains(service)) continue;
if (service == QLatin1String("qtext")) {
checkMissingImagesAndFonts(QStringList(), QStringList(EffectsList::property(e, QStringLiteral("family"))),
e.attribute(QStringLiteral("id")), e.attribute(QStringLiteral("name")));
diff --git a/src/onmonitoritems/rotoscoping/rotowidget.cpp b/src/onmonitoritems/rotoscoping/rotowidget.cpp
index 8fc2daa..7940916 100644
--- a/src/onmonitoritems/rotoscoping/rotowidget.cpp
+++ b/src/onmonitoritems/rotoscoping/rotowidget.cpp
@@ -350,7 +350,6 @@ void RotoWidget::setupTrackingListen(const ItemInfo &info)
return;
}
- int i = 0;
Mlt::Service service(*clip);
for (int ix = 0; ix < service.filter_count(); ++ix) {
QScopedPointer<Mlt::Filter> effect(service.filter(ix));