From 3158955198fbdc71319cd3418523d851e6d47106 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2014 22:43:36 +0200 Subject: TagHandler: pass SongTime to duration() --- src/decoder/plugins/SidplayDecoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder/plugins/SidplayDecoderPlugin.cxx') diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index 2adfa6df9..8435f095f 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -388,7 +388,7 @@ sidplay_scan_file(Path path_fs, const auto duration = get_song_length(path_fs); if (!duration.IsNegative()) tag_handler_invoke_duration(handler, handler_ctx, - duration.RoundS()); + SongTime(duration)); return true; } -- cgit v1.2.3