aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2016-06-03 16:15:27 +0200
committerJean-Baptiste Mardelle <[email protected]>2016-06-03 16:15:27 +0200
commit44e585c5a3b9c4cdc62a56c00fad7478f0ab6051 (patch)
tree198bac3b58a58f868a1c3dc43666a9789dc5d911
parent40abe669898df684875a283bf75f6f28c96cc339 (diff)
Check audio mix on track add/remove
-rw-r--r--src/timeline/customtrackview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timeline/customtrackview.cpp b/src/timeline/customtrackview.cpp
index 1dd86be..777dc82 100644
--- a/src/timeline/customtrackview.cpp
+++ b/src/timeline/customtrackview.cpp
@@ -3573,6 +3573,8 @@ void CustomTrackView::addTrack(const TrackInfo &type, int ix)
m_document->renderer()->unlockService(tractor);
// Reload timeline and m_tracks structure from MLT's playlist
reloadTimeline();
+ // Check we have correct audio mix
+ m_timeline->fixAudioMixing();
loadGroups(groups);
}
@@ -3667,6 +3669,8 @@ void CustomTrackView::removeTrack(int ix)
m_timeline->updateComposites();
m_document->renderer()->unlockService(tractor);
reloadTimeline();
+ // Check we have correct audio mix
+ m_timeline->fixAudioMixing();
loadGroups(groups);
}