Mercurial > audlegacy
changeset 3926:05e6d9db003c
playback_get_length() had always returned 1 whenever it uses tuple.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Tue, 13 Nov 2007 05:01:13 +0900 |
parents | 889535f0b9c7 |
children | 366aa28f3ea2 |
files | src/audacious/playback.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/playback.c Sun Nov 11 21:49:44 2007 +0100 +++ b/src/audacious/playback.c Tue Nov 13 05:01:13 2007 +0900 @@ -168,7 +168,7 @@ if (playback && playback->plugin->get_song_tuple) { Tuple *tuple = playback->plugin->get_song_tuple(playback->filename); if (tuple_get_value_type(tuple, FIELD_LENGTH, NULL) == TUPLE_INT) - return tuple_get_value_type(tuple, FIELD_LENGTH, NULL); + return tuple_get_int(tuple, FIELD_LENGTH, NULL); } return -1;