"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/widgets/lumamixtransition.cpp" between
shotcut-22.10.22.tar.gz and shotcut-22.11.25.tar.gz

About: Shotcut is a cross-platform (Qt) advanced video editor.

lumamixtransition.cpp  (shotcut-22.10.22):lumamixtransition.cpp  (shotcut-22.11.25)
skipping to change at line 281 skipping to change at line 281
updateCustomLumaLabel(*transition); updateCustomLumaLabel(*transition);
MLT.refreshConsumer(); MLT.refreshConsumer();
emit modified(); emit modified();
} }
} }
void LumaMixTransition::startPreview() void LumaMixTransition::startPreview()
{ {
if (Settings.timelinePreviewTransition() && m_producer.is_valid() && MLT.isP aused()) { if (Settings.timelinePreviewTransition() && m_producer.is_valid() && MLT.isP aused()) {
m_preview->stop(); m_preview->stop();
m_preview->start(m_producer); m_previewProducer = new Mlt::Producer(MLT.profile(), "xml-string",
MLT.XML(&m_producer).toUtf8().cons
tData());
m_preview->start(m_previewProducer);
} }
} }
void LumaMixTransition::on_previewCheckBox_clicked(bool checked) void LumaMixTransition::on_previewCheckBox_clicked(bool checked)
{ {
Settings.setTimelinePreviewTransition(checked); Settings.setTimelinePreviewTransition(checked);
if (checked) { if (checked) {
startPreview(); startPreview();
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)