diff options
author | 2010-01-11 20:41:38 +0100 | |
---|---|---|
committer | 2010-01-11 20:41:38 +0100 | |
commit | 1c328c9601ff4d9771ba1bf99f0f42c3caf32297 (patch) | |
tree | 1b960a7586346ddb4d3b7babe9e31733454cf337 /cgme.c | |
parent | 8f873b3b3a992da897a029a1cf19b32168440f39 (diff) |
runtime linking of playlist tracks to decoder plugins is done via strings instead of pointers (to allow easy unloading of decoders)
Diffstat (limited to 'cgme.c')
-rw-r--r-- | cgme.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ cgme_insert (DB_playItem_t *after, const char *fname) { const char *ret = gme_track_info (emu, &inf, i); if (!ret) { DB_playItem_t *it = deadbeef->pl_item_alloc (); - it->decoder = &plugin; + it->decoder_id = deadbeef->plug_get_decoder_id (plugin.id); it->fname = strdup (fname); char str[1024]; if (inf.song[0]) { |