aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/SidplayDecoderPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/plugins/SidplayDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}