From 3e77b3133fd04e9dcbcc36f354cdd79cd664da0d Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Mon, 14 Nov 2011 14:54:33 +0100 Subject: [PATCH] Fix slideshow clip showing up as invalid in clip monitor --- src/docclipbase.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/docclipbase.cpp b/src/docclipbase.cpp index 9e581942..7b97cedb 100644 --- a/src/docclipbase.cpp +++ b/src/docclipbase.cpp @@ -705,9 +705,8 @@ Mlt::Producer *DocClipBase::getProducer(int track) Mlt::Producer *DocClipBase::cloneProducer(Mlt::Producer *source) { Mlt::Producer *result = NULL; - QString invalidClip = source->get("markup"); QString url = QString::fromUtf8(source->get("resource")); - if (KIO::NetAccess::exists(KUrl(url), KIO::NetAccess::SourceSide, 0)) { + if (m_clipType == SLIDESHOW || KIO::NetAccess::exists(KUrl(url), KIO::NetAccess::SourceSide, 0)) { result = new Mlt::Producer(*(source->profile()), url.toUtf8().constData()); } if (result == NULL || !result->is_valid()) { -- 2.39.2