summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-18 23:53:09 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-18 23:53:09 +0100
commit01740cc3f9dcfc8e95aae03003757e2b085ef70f (patch)
treeac21d651a05c21002df7bbf856e5ac25188b720c
parent39b5eb38c54308cf520cac709a1d148bbd7a824d (diff)
minor fixes in decoder_template
-rw-r--r--decoder_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder_template.c b/decoder_template.c
index 27308177..1ddcc3c8 100644
--- a/decoder_template.c
+++ b/decoder_template.c
@@ -121,7 +121,7 @@ example:
DB_playItem_t *it = deadbeef->pl_item_alloc ();
it->decoder = &plugin;
it->fname = strdup (fname);
- it->filetype = "OggVorbis";
+ it->filetype = filetypes[0];
deadbeef->pl_set_item_duration (it, (float)ti.total_num_samples/ti.samplerate);
// add metainfo