From 7c25d83f1cc4c7db2d2d3f4506525dd056b885e8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2014 12:14:27 +0200 Subject: Tag: use SignedSongTime for the song duration --- src/tag/TagHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tag/TagHandler.cxx') diff --git a/src/tag/TagHandler.cxx b/src/tag/TagHandler.cxx index 014834b88..20a51f064 100644 --- a/src/tag/TagHandler.cxx +++ b/src/tag/TagHandler.cxx @@ -27,7 +27,7 @@ add_tag_duration(unsigned seconds, void *ctx) { TagBuilder &tag = *(TagBuilder *)ctx; - tag.SetTime(seconds); + tag.SetDuration(SignedSongTime::FromS(seconds)); } static void -- cgit v1.2.3