Commit 30f1ee7a authored by Max Kellermann's avatar Max Kellermann

decoder/sndfile: log libsndfile version on startup

parent 46ff830d
...@@ -32,6 +32,13 @@ ...@@ -32,6 +32,13 @@
static constexpr Domain sndfile_domain("sndfile"); static constexpr Domain sndfile_domain("sndfile");
static bool
sndfile_init(gcc_unused const config_param &param)
{
LogDebug(sndfile_domain, sf_version_string());
return true;
}
struct SndfileInputStream { struct SndfileInputStream {
Decoder *const decoder; Decoder *const decoder;
InputStream &is; InputStream &is;
...@@ -282,7 +289,7 @@ static const char *const sndfile_mime_types[] = { ...@@ -282,7 +289,7 @@ static const char *const sndfile_mime_types[] = {
const struct DecoderPlugin sndfile_decoder_plugin = { const struct DecoderPlugin sndfile_decoder_plugin = {
"sndfile", "sndfile",
nullptr, sndfile_init,
nullptr, nullptr,
sndfile_stream_decode, sndfile_stream_decode,
nullptr, nullptr,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment