Mercurial > hg > svcore
comparison transform/Transform.cpp @ 1230:9ae2ce9190e6 project-file-rework
Merge
author | Chris Cannam |
---|---|
date | Tue, 25 Oct 2016 11:04:26 +0100 |
parents | ba16388b937d |
children |
comparison
equal
deleted
inserted
replaced
1228:a2091d148d7f | 1230:9ae2ce9190e6 |
---|---|
200 } | 200 } |
201 | 201 |
202 Transform::Type | 202 Transform::Type |
203 Transform::getType() const | 203 Transform::getType() const |
204 { | 204 { |
205 if (FeatureExtractionPluginFactory::instanceFor(getPluginIdentifier())) { | 205 if (RealTimePluginFactory::instanceFor(getPluginIdentifier())) { |
206 return FeatureExtraction; | |
207 } else if (RealTimePluginFactory::instanceFor(getPluginIdentifier())) { | |
208 return RealTimeEffect; | 206 return RealTimeEffect; |
209 } else { | 207 } else { |
210 return UnknownType; | 208 return FeatureExtraction; |
211 } | 209 } |
212 } | 210 } |
213 | 211 |
214 QString | 212 QString |
215 Transform::getPluginIdentifier() const | 213 Transform::getPluginIdentifier() const |