Mercurial > hg > svcore
diff rdf/RDFExporter.cpp @ 510:af7b6e55895b
* Ensure text models are exported with text properties in RDF, and
imported back into text models again (instead of time/value models)
author | Chris Cannam |
---|---|
date | Mon, 08 Dec 2008 11:53:10 +0000 |
parents | 83eae5239db6 |
children | 31ab733841d0 |
line wrap: on
line diff
--- a/rdf/RDFExporter.cpp Mon Dec 08 11:15:13 2008 +0000 +++ b/rdf/RDFExporter.cpp Mon Dec 08 11:53:10 2008 +0000 @@ -155,6 +155,7 @@ f.hasTimestamp = true; f.hasDuration = false; const TextModel::PointList &pl(m->getPoints()); + m_fw->setFixedEventTypeURI("af:Text"); for (TextModel::PointList::const_iterator i = pl.begin(); i != pl.end(); ++i) { f.timestamp = Vamp::RealTime::frame2RealTime(i->frame, sr);