Fix bug causing bin effects on color, image and title clips to be duplicated

parent 945b125d
......@@ -685,8 +685,11 @@ std::pair<std::shared_ptr<Mlt::Producer>, bool> ProjectClip::giveMasterAndGetTim
}
if (state == PlaylistState::VideoOnly) {
// good, we found a master video producer, and we didn't have any
m_videoProducers[clipId] = std::make_shared<Mlt::Producer>(&master->parent());
m_effectStack->loadService(m_videoProducers[clipId]);
if (m_clipType != ClipType::Color && m_clipType != ClipType::Image && m_clipType != ClipType::Text) {
// Color, image and text clips always use master producer in timeline
m_videoProducers[clipId] = std::make_shared<Mlt::Producer>(&master->parent());
m_effectStack->loadService(m_videoProducers[clipId]);
}
return {master, true};
}
if (state == PlaylistState::Disabled) {
......
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