When switching project profile and there is only 1 clip in timeline, update...

When switching project profile and there is only 1 clip in timeline, update the timeline clip duration accordingly to profile change.
Fixes #819
parent da8ea898
...@@ -294,13 +294,9 @@ private: ...@@ -294,13 +294,9 @@ private:
QFuture<void> m_thumbThread; QFuture<void> m_thumbThread;
QList<int> m_requestedThumbs; QList<int> m_requestedThumbs;
const QString geometryWithOffset(const QString &data, int offset); const QString geometryWithOffset(const QString &data, int offset);
<<<<<<< HEAD
=======
QMap <QString, QByteArray> m_audioLevels; QMap <QString, QByteArray> m_audioLevels;
/** @brief If true, all timeline occurences of this clip will be replaced from a fresh producer on reload. */ /** @brief If true, all timeline occurences of this clip will be replaced from a fresh producer on reload. */
bool m_resetTimelineOccurences; bool m_resetTimelineOccurences;
>>>>>>> a12ba6dfa... When switching project profile and there is only 1 clip in timeline, update the timeline clip duration accordingly to profile change.
// This is a helper function that creates the disabled producer. This is a clone of the original one, with audio and video disabled // This is a helper function that creates the disabled producer. This is a clone of the original one, with audio and video disabled
void createDisabledMasterProducer(); void createDisabledMasterProducer();
......
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