diff runner/LabFeatureWriter.h @ 176:59abb58b1855

TransformId is not sufficient -- it could be ambiguous (same transform id, different parameters etc). Use the whole transform
author Chris Cannam
date Wed, 15 Oct 2014 17:02:48 +0100
parents 946115b8badd
children 704a8b27f3ed
line wrap: on
line diff
--- a/runner/LabFeatureWriter.h	Wed Oct 15 16:58:00 2014 +0100
+++ b/runner/LabFeatureWriter.h	Wed Oct 15 17:02:48 2014 +0100
@@ -57,8 +57,9 @@
 
 private:
     bool m_forceEnd;
-    
-    typedef map<TrackTransformPair, Vamp::Plugin::Feature> PendingFeatures;
+
+    typedef pair<QString, Transform> DataId; // track id, transform
+    typedef map<DataId, Vamp::Plugin::Feature> PendingFeatures;
     PendingFeatures m_pending;
 
     void writeFeature(QTextStream &,