diff options
author | Max Kellermann <max@duempel.org> | 2012-05-29 22:52:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-05-29 22:52:50 +0200 |
commit | 6bb166aaaa387f20aca469b6463ba1ad96942d06 (patch) | |
tree | 515304cd9dc149130db36ff7d0b9fd4546f21773 | |
parent | cca9bc51761b0d2a9dc0f2a6cc6bf24139862372 (diff) | |
download | mpd-6bb166aaaa387f20aca469b6463ba1ad96942d06.tar.gz mpd-6bb166aaaa387f20aca469b6463ba1ad96942d06.tar.xz mpd-6bb166aaaa387f20aca469b6463ba1ad96942d06.zip |
decoder_api: log the decoder plugin name
-rw-r--r-- | src/decoder_thread.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c index bb3ef9348..edd726d38 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -115,6 +115,8 @@ decoder_stream_decode(const struct decoder_plugin *plugin, assert(input_stream->ready); assert(decoder->dc->state == DECODE_STATE_START); + g_debug("probing plugin %s", plugin->name); + if (decoder->dc->command == DECODE_COMMAND_STOP) return true; @@ -146,6 +148,8 @@ decoder_file_decode(const struct decoder_plugin *plugin, assert(g_path_is_absolute(path)); assert(decoder->dc->state == DECODE_STATE_START); + g_debug("probing plugin %s", plugin->name); + if (decoder->dc->command == DECODE_COMMAND_STOP) return true; |