Commit bc32c54a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Do not use MLT producer's get_length_time methd as it changes the way the...

Do not use MLT producer's get_length_time methd as it changes the way the length property is stored, causing inconsistencies (clock vs smpte_df)
CCBUG: 407778
parent 1088dfba
Pipeline #3710 passed with stage
in 23 minutes and 14 seconds
......@@ -346,7 +346,7 @@ const QString ClipController::getStringDuration()
if (playtime > 0) {
return QString(m_properties->frames_to_time(playtime, mlt_time_smpte_df));
}
return m_masterProducer->get_length_time(mlt_time_smpte_df);
return m_properties->frames_to_time(m_masterProducer->get_length(), mlt_time_smpte_df);
}
return i18n("Unknown");
}
......
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