diff --git a/src/mltcontroller/clippropertiescontroller.cpp b/src/mltcontroller/clippropertiescontroller.cpp index f3586134005b54e429be82b60ce6aa866940813f..f0524f5679e79c9c30345485f6f2b265981debce 100644 --- a/src/mltcontroller/clippropertiescontroller.cpp +++ b/src/mltcontroller/clippropertiescontroller.cpp @@ -609,7 +609,11 @@ ClipPropertiesController::ClipPropertiesController(ClipController *controller, Q QList enabledStreams = m_controller->activeStreams().keys(); QString vix = m_sourceProperties.get("audio_index"); m_originalProperties.insert(QStringLiteral("audio_index"), vix); - m_originalProperties.insert(QStringLiteral("kdenlive:active_streams"), m_sourceProperties.get("kdenlive:active_streams")); + QStringList streamString; + for (int streamIx : enabledStreams) { + streamString << QString::number(streamIx); + } + m_originalProperties.insert(QStringLiteral("kdenlive:active_streams"), streamString.join(QLatin1Char(';'))); hlay = new QHBoxLayout; KDualAction *ac = new KDualAction(i18n("Disable audio"), i18n("Enable audio"), this);