Stop saving metadata in project files (much cleaner)

parent 71eda06e
...@@ -3323,7 +3323,7 @@ void Bin::cachePixmap(const QString &path, QImage img) ...@@ -3323,7 +3323,7 @@ void Bin::cachePixmap(const QString &path, QImage img)
} }
} }
QDir Bin::getCacheDir(CacheType type, bool *ok) QDir Bin::getCacheDir(CacheType type, bool *ok) const
{ {
return m_doc->getCacheDir(type, ok); return m_doc->getCacheDir(type, ok);
} }
...@@ -522,7 +522,7 @@ public: ...@@ -522,7 +522,7 @@ public:
QImage findCachedPixmap(const QString &path); QImage findCachedPixmap(const QString &path);
void cachePixmap(const QString &path, QImage img); void cachePixmap(const QString &path, QImage img);
/** @brief Returns a document's cache dir. ok is set to false if folder does not exist */ /** @brief Returns a document's cache dir. ok is set to false if folder does not exist */
QDir getCacheDir(CacheType type, bool *ok); QDir getCacheDir(CacheType type, bool *ok) const;
private slots: private slots:
void slotAddClip(); void slotAddClip();
......
...@@ -549,6 +549,7 @@ const QString Render::sceneList() ...@@ -549,6 +549,7 @@ const QString Render::sceneList()
m_mltProducer->optimise(); m_mltProducer->optimise();
xmlConsumer.set("terminate_on_pause", 1); xmlConsumer.set("terminate_on_pause", 1);
xmlConsumer.set("store", "kdenlive"); xmlConsumer.set("store", "kdenlive");
xmlConsumer.set("no_meta", 1);
Mlt::Producer prod(m_mltProducer->get_producer()); Mlt::Producer prod(m_mltProducer->get_producer());
if (!prod.is_valid()) return QString(); if (!prod.is_valid()) return QString();
xmlConsumer.connect(prod); xmlConsumer.connect(prod);
......
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