Commit 67c97f74 authored by Julius Künzel's avatar Julius Künzel
Browse files

Treat GIFs as video, not as image

Fixes #335
BUG: 410908
CCBUG: 411180
parent 1f8f1169
Pipeline #51891 passed with stage
in 10 minutes and 40 seconds
......@@ -99,7 +99,7 @@ QDomDocument ClipCreator::getXmlFromUrl(const QString &path)
QDomElement prod;
qDebug()<<"=== GOT DROPPED MIME: "<<type.name();
if (type.name().startsWith(QLatin1String("image/"))) {
if (type.name().startsWith(QLatin1String("image/")) && !type.name().contains(QLatin1String("image/gif"))) {
int duration = pCore->getDurationFromString(KdenliveSettings::image_duration());
prod = createProducer(xml, ClipType::Image, path, QString(), duration, QString());
} else if (type.inherits(QStringLiteral("application/x-kdenlivetitle"))) {
......
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