Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
67c97f74
Commit
67c97f74
authored
Feb 22, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/clipcreator.cpp
View file @
67c97f74
...
...
@@ -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"
)))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment