From c860d36e2fa143f7b928cb47ed14ea5ff8bc7d0c Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Wed, 28 May 2014 12:14:37 -0400 Subject: [PATCH] Set correct stream readMode for transforms returned by Transform::fromAlgorithm --- openbr/core/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/core/core.cpp b/openbr/core/core.cpp index 0b56d71..acde657 100644 --- a/openbr/core/core.cpp +++ b/openbr/core/core.cpp @@ -706,7 +706,7 @@ QSharedPointer br::Transform::fromAlgorithm(const QString &algori return AlgorithmManager::getAlgorithm(algorithm)->transform; else { QSharedPointer orig_tform = AlgorithmManager::getAlgorithm(algorithm)->transform; - QSharedPointer newRoot = QSharedPointer(Transform::make("Stream(Identity)", NULL)); + QSharedPointer newRoot = QSharedPointer(Transform::make("Stream(Identity, readMode=DistributeFrames)", NULL)); WrapperTransform * downcast = dynamic_cast (newRoot.data()); downcast->transform = orig_tform.data(); downcast->init(); -- libgit2 0.21.4