summaryrefslogtreecommitdiff
path: root/plugins/faad2
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-11 17:14:10 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-11 17:14:10 +0200
commit4326a465afb45622d22d2dd52fe6f4d25f1a17ef (patch)
treec9480b530aa077ab43f5bc9a3940eda556accb03 /plugins/faad2
parent9425bbc1716081cff72c73744a4fc82251b9db41 (diff)
added total playtime display to statusbar
Diffstat (limited to 'plugins/faad2')
-rw-r--r--plugins/faad2/faad2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/faad2/faad2.c b/plugins/faad2/faad2.c
index 7c1d8cac..46a144ce 100644
--- a/plugins/faad2/faad2.c
+++ b/plugins/faad2/faad2.c
@@ -223,7 +223,7 @@ aac_insert (DB_playItem_t *after, const char *fname) {
it->decoder = &plugin;
it->fname = strdup (fname);
it->filetype = ftype;
- it->duration = duration;
+ deadbeef->pl_set_item_duration (it, duration);
// read tags
if (ftype == "aac") {