Skip to content

Commit

Permalink
fix crash adding filter to empty timeline track
Browse files Browse the repository at this point in the history
This was happening with GPU Effects turned on.
  • Loading branch information
ddennedy committed Apr 18, 2023
1 parent e175d90 commit 0231f13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/docks/filtersdock.cpp
Expand Up @@ -79,7 +79,8 @@ void FiltersDock::setCurrentFilter(QmlFilter *filter, QmlMetadata *meta, int ind
{
if (filter && filter->producer().is_valid()) {
m_producer.setProducer(filter->producer());
m_producer.seek(MLT.producer()->position());
if (mlt_service_playlist_type != filter->producer().type())
m_producer.seek(MLT.producer()->position());
} else {
Mlt::Producer emptyProducer(mlt_producer(0));
m_producer.setProducer(emptyProducer);
Expand Down

0 comments on commit 0231f13

Please sign in to comment.