Mercurial > hg > svcore
changeset 988:58c4d69b4dd8
Fix reading duration from transform XML (it was setting the start time instead!)
author | Chris Cannam |
---|---|
date | Wed, 01 Oct 2014 14:06:28 +0100 |
parents | a51781b11dd4 |
children | c9d456b1fcde dc1695b90a58 |
files | transform/Transform.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/transform/Transform.cpp Wed Oct 01 09:20:24 2014 +0100 +++ b/transform/Transform.cpp Wed Oct 01 14:06:28 2014 +0100 @@ -520,7 +520,7 @@ } if (attrs.value("duration") != "") { - setStartTime(RealTime::fromString(attrs.value("duration").toStdString())); + setDuration(RealTime::fromString(attrs.value("duration").toStdString())); } if (attrs.value("sampleRate") != "") {