aboutsummaryrefslogtreecommitdiff
path: root/src/decoder/fluidsynth_decoder_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-11 19:26:41 +0100
committerMax Kellermann <max@duempel.org>2012-02-11 19:28:56 +0100
commitee16fc958c70946f934a86b040e8b6dc70ec0b2b (patch)
tree1ffb4a14ca051d977d696e7af24fa847f149ee55 /src/decoder/fluidsynth_decoder_plugin.c
parent5d73215a8dad922c8e383f3837f3ec9e26503389 (diff)
decoder/{mikmod,fluidsynth,mp4ff}: adapt to tag_handler API
Fixes build regression.
Diffstat (limited to 'src/decoder/fluidsynth_decoder_plugin.c')
-rw-r--r--src/decoder/fluidsynth_decoder_plugin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/decoder/fluidsynth_decoder_plugin.c b/src/decoder/fluidsynth_decoder_plugin.c
index 814a7b55..085f84f1 100644
--- a/src/decoder/fluidsynth_decoder_plugin.c
+++ b/src/decoder/fluidsynth_decoder_plugin.c
@@ -219,15 +219,15 @@ fluidsynth_file_decode(struct decoder *decoder, const char *path_fs)
delete_fluid_settings(settings);
}
-static struct tag *
-fluidsynth_tag_dup(const char *file)
+static bool
+fluidsynth_scan_file(const char *file,
+ G_GNUC_UNUSED const struct tag_handler *handler,
+ G_GNUC_UNUSED void *handler_ctx)
{
- struct tag *tag = tag_new();
-
/* to be implemented */
(void)file;
- return tag;
+ return true;
}
static const char *const fluidsynth_suffixes[] = {
@@ -239,6 +239,6 @@ const struct decoder_plugin fluidsynth_decoder_plugin = {
.name = "fluidsynth",
.init = fluidsynth_init,
.file_decode = fluidsynth_file_decode,
- .tag_dup = fluidsynth_tag_dup,
+ .scan_file = fluidsynth_scan_file,
.suffixes = fluidsynth_suffixes,
};