summaryrefslogtreecommitdiff
path: root/decoder_template.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-23 20:54:08 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-23 20:54:08 +0100
commit301f38f04ab0a6c693f5872968059d999202c227 (patch)
treec2d980051e36c3cb20190803d4eca6b2f7b81c84 /decoder_template.c
parent78d4bc3bba3942072c4b061ec21339df957e4d71 (diff)
minor typo-fix in decoder template
Diffstat (limited to 'decoder_template.c')
-rw-r--r--decoder_template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoder_template.c b/decoder_template.c
index bfa2af8b..2f47582e 100644
--- a/decoder_template.c
+++ b/decoder_template.c
@@ -140,12 +140,12 @@ example:
// add metainfo
if (!strlen (ti.title)) {
// title is empty, this call will set track title to filename without extension
- deadbeef->pl_add_meta ("title", NULL);
+ deadbeef->pl_add_meta (it, "title", NULL);
}
else {
- deadbeef->pl_add_meta ("title", ti.title);
+ deadbeef->pl_add_meta (it, "title", ti.title);
}
- deadbeef->pl_add_meta ("artist", ti.artist);
+ deadbeef->pl_add_meta (it, "artist", ti.artist);
// ... etc ...
// free decoder