Fix reloading playlist doesn't update out.

Fixes #275
parent bbe584c6
Pipeline #4890 failed with stage
in 1 second
......@@ -324,6 +324,7 @@ void ProjectClip::reloadProducer(bool refreshOnly, bool audioStreamChanged)
if (!xml.isNull()) {
pCore->jobManager()->discardJobs(clipId(), AbstractClipJob::THUMBJOB);
m_thumbsProducer.reset();
xml.removeAttribute("out");
ThumbnailCache::get()->invalidateThumbsForClip(clipId());
int loadJob = pCore->jobManager()->startJob<LoadJob>({clipId()}, loadjobId, QString(), xml);
pCore->jobManager()->startJob<ThumbJob>({clipId()}, loadJob, QString(), 150, -1, true, true);
......
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