Commit b5f06b30 authored by Kristian Knudsen's avatar Kristian Knudsen Committed by Jean-Baptiste Mardelle
Browse files

Fixed issue where changing speed resets audio channel of clip to channel 1

parent 270d3022
Pipeline #48676 passed with stage
in 10 minutes and 40 seconds
......@@ -821,6 +821,7 @@ std::shared_ptr<Mlt::Producer> ProjectClip::getTimelineProducer(int trackId, int
Mlt::Properties cloneProps(warpProducer->get_properties());
cloneProps.pass_list(original, ClipController::getPassPropertiesList(false));
warpProducer->set("length", (int) (original_length / std::abs(speed) + 0.5));
warpProducer->set("audio_index", audioStream);
}
qDebug() << "warp LENGTH" << warpProducer->get_length();
......
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