diff options
author | Serge Ziryukin <ftrvxmtrx@gmail.com> | 2009-07-15 12:13:02 +0300 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-15 11:22:45 +0200 |
commit | 297d749fc8edf6aa78495372fdcf9857225a3b16 (patch) | |
tree | 825d47afe6978d608fc8d9ddb61338abe6ccc15f /src/decoder | |
parent | 6233de05464c11b714cbfcb2692ff22691b1475a (diff) | |
download | mpd-297d749fc8edf6aa78495372fdcf9857225a3b16.tar.gz mpd-297d749fc8edf6aa78495372fdcf9857225a3b16.tar.xz mpd-297d749fc8edf6aa78495372fdcf9857225a3b16.zip |
modplug: get track length
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/modplug_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/modplug_plugin.c b/src/decoder/modplug_plugin.c index f636f2fa6..31f0a47c2 100644 --- a/src/decoder/modplug_plugin.c +++ b/src/decoder/modplug_plugin.c @@ -186,7 +186,7 @@ static struct tag *mod_tagdup(const char *file) return NULL; } ret = tag_new(); - ret->time = 0; + ret->time = ModPlug_GetLength(f) / 1000; title = g_strdup(ModPlug_GetName(f)); if (title) |