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

Fix error message about subtitle filter not initialized

parent 2d24a30a
...@@ -50,7 +50,6 @@ SubtitleModel::SubtitleModel(Mlt::Tractor *tractor, std::shared_ptr<TimelineItem ...@@ -50,7 +50,6 @@ SubtitleModel::SubtitleModel(Mlt::Tractor *tractor, std::shared_ptr<TimelineItem
if (tractor != nullptr) { if (tractor != nullptr) {
qDebug()<<"Tractor!"; qDebug()<<"Tractor!";
m_subtitleFilter->set("internal_added", 237); m_subtitleFilter->set("internal_added", 237);
m_tractor->attach(*m_subtitleFilter.get());
} }
setup(); setup();
QSize frameSize = pCore->getCurrentFrameDisplaySize(); QSize frameSize = pCore->getCurrentFrameDisplaySize();
......
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