aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagHandler.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-29 22:43:36 +0200
committerMax Kellermann <max@duempel.org>2014-08-29 22:52:04 +0200
commit3158955198fbdc71319cd3418523d851e6d47106 (patch)
treeab3fff73fe7efa73ed95f9998eec5da66947b4e2 /src/tag/TagHandler.cxx
parentd9d97bd17bf0d9469dcf00120d3d3fdab87299bc (diff)
downloadmpd-3158955198fbdc71319cd3418523d851e6d47106.tar.gz
mpd-3158955198fbdc71319cd3418523d851e6d47106.tar.xz
mpd-3158955198fbdc71319cd3418523d851e6d47106.zip
TagHandler: pass SongTime to duration()
Diffstat (limited to 'src/tag/TagHandler.cxx')
-rw-r--r--src/tag/TagHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tag/TagHandler.cxx b/src/tag/TagHandler.cxx
index 20a51f064..2cbb83242 100644
--- a/src/tag/TagHandler.cxx
+++ b/src/tag/TagHandler.cxx
@@ -23,11 +23,11 @@
#include "util/ASCII.hxx"
static void
-add_tag_duration(unsigned seconds, void *ctx)
+add_tag_duration(SongTime duration, void *ctx)
{
TagBuilder &tag = *(TagBuilder *)ctx;
- tag.SetDuration(SignedSongTime::FromS(seconds));
+ tag.SetDuration(duration);
}
static void