Skip to content

Commit

Permalink
fix filter analyze jobs on chains in playlist/source
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Apr 20, 2023
1 parent 4994348 commit fe065c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qmltypes/qmlfilter.cpp
Expand Up @@ -373,7 +373,7 @@ void QmlFilter::analyze(bool isAudio)
if (!isAudio) mltFilter.set("analyze", 1);

// Fix in/out points of filters on clip-only project.
if (MLT.isSeekableClip()) {
if (MLT.isSeekableClip() && mlt_service_chain_type != MLT.producer()->type()) {
Mlt::Producer producer(MLT.profile(), "xml-string", MLT.XML().toUtf8().constData());
service = Mlt::Service(producer);
int producerIn = producer.get_in();
Expand Down

0 comments on commit fe065c1

Please sign in to comment.