Don't check for missing resources in playlist if producer does not use a real...

Don't check for missing resources in playlist if producer does not use a real file (like counter, noise, ...)
parent baabfafe
......@@ -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")));
......
......@@ -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));
......
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