diff options
author | 2011-04-27 22:27:11 +0200 | |
---|---|---|
committer | 2011-04-27 22:27:11 +0200 | |
commit | 63f83233f6bbfd3b7add1cc3abcb4bf75b7f5912 (patch) | |
tree | 6faf83e38503e0a330819ae8d80f04c6dee54dab /plugins/vtx | |
parent | d6edc30d31c904a70286fd3fe07eaa9c0a5bb018 (diff) |
fixed mp3 filetype for streamed radio;
removed filetypes ptr in DB_decoder_t
Diffstat (limited to 'plugins/vtx')
-rw-r--r-- | plugins/vtx/vtx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/vtx/vtx.c b/plugins/vtx/vtx.c index 41b1fe73..891caec3 100644 --- a/plugins/vtx/vtx.c +++ b/plugins/vtx/vtx.c @@ -31,7 +31,6 @@ static DB_decoder_t plugin; static DB_functions_t *deadbeef; static const char * exts[] = { "vtx", NULL }; -static const char *filetypes[] = { "VTX", NULL }; #define AY_FRAME_SIZE 14 @@ -259,7 +258,7 @@ vtx_insert (DB_playItem_t *after, const char *fname) { trace ("vtx: datasize: %d\n", hdr->regdata_size); DB_playItem_t *it = deadbeef->pl_item_alloc_init (fname, plugin.plugin.id); - deadbeef->pl_add_meta (it, ":FILETYPE", filetypes[0]); + deadbeef->pl_add_meta (it, ":FILETYPE", "VTX"); int numframes = hdr->regdata_size / AY_FRAME_SIZE; // int totalsamples = numframes * hdr->playerFreq; @@ -338,7 +337,6 @@ static DB_decoder_t plugin = { .seek_sample = vtx_seek_sample, .insert = vtx_insert, .exts = exts, - .filetypes = filetypes }; DB_plugin_t * |