Mercurial > hg > svcore
changeset 1003:274c4362bda6
Add plugin_version to transform RDF serialisation (if non-empty)
author | Chris Cannam |
---|---|
date | Wed, 15 Oct 2014 13:06:27 +0100 |
parents | c2316a3bbb81 |
children | 7d003fe48225 |
files | rdf/RDFTransformFactory.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rdf/RDFTransformFactory.cpp Wed Oct 15 10:38:17 2014 +0100 +++ b/rdf/RDFTransformFactory.cpp Wed Oct 15 13:06:27 2014 +0100 @@ -409,6 +409,9 @@ if (transform.getSampleRate() != 0) { s << " vamp:sample_rate \"" << transform.getSampleRate() << "\"^^xsd:float ; " << endl; } + if (transform.getPluginVersion() != "") { + s << " vamp:plugin_version \"\"\"" << transform.getPluginVersion() << "\"\"\" ; " << endl; + } QString program = transform.getProgram(); if (program != "") {