Check audio mix on track add/remove

CCBUG: 353251
parent 40abe669
...@@ -3573,6 +3573,8 @@ void CustomTrackView::addTrack(const TrackInfo &type, int ix) ...@@ -3573,6 +3573,8 @@ void CustomTrackView::addTrack(const TrackInfo &type, int ix)
m_document->renderer()->unlockService(tractor); m_document->renderer()->unlockService(tractor);
// Reload timeline and m_tracks structure from MLT's playlist // Reload timeline and m_tracks structure from MLT's playlist
reloadTimeline(); reloadTimeline();
// Check we have correct audio mix
m_timeline->fixAudioMixing();
loadGroups(groups); loadGroups(groups);
} }
...@@ -3667,6 +3669,8 @@ void CustomTrackView::removeTrack(int ix) ...@@ -3667,6 +3669,8 @@ void CustomTrackView::removeTrack(int ix)
m_timeline->updateComposites(); m_timeline->updateComposites();
m_document->renderer()->unlockService(tractor); m_document->renderer()->unlockService(tractor);
reloadTimeline(); reloadTimeline();
// Check we have correct audio mix
m_timeline->fixAudioMixing();
loadGroups(groups); loadGroups(groups);
} }
......
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