Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Do not attempt to auto split audio clips

parent 961c97f8
......@@ -606,7 +606,9 @@ bool TimelineModel::requestClipInsertion(const QString &binClipId, int trackId,
std::function<bool(void)> local_undo = []() { return true; };
std::function<bool(void)> local_redo = []() { return true; };
bool res = false;
if (KdenliveSettings::splitaudio()) {
std::shared_ptr<ProjectClip> master = pCore->projectItemModel()->getClipByBinID(binClipId);
ClipType type = master->clipType();
if (KdenliveSettings::splitaudio() && type == ClipType::AV) {
res = requestClipCreation(binClipId, id, PlaylistState::VideoOnly, local_undo, local_redo);
res = res && requestClipMove(id, trackId, position, refreshView, logUndo, local_undo, local_redo);
if (res && logUndo) {
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