Commit af49cace authored by Max Kellermann's avatar Max Kellermann

decoder/vorbis: log libvorbis version on startup

parent 13b78d0d
...@@ -171,6 +171,16 @@ vorbis_interleave(float *dest, const float *const*src, ...@@ -171,6 +171,16 @@ vorbis_interleave(float *dest, const float *const*src,
#endif #endif
/* public */ /* public */
static bool
vorbis_init(gcc_unused const config_param &param)
{
#ifndef HAVE_TREMOR
LogDebug(vorbis_domain, vorbis_version_string());
#endif
return true;
}
static void static void
vorbis_stream_decode(Decoder &decoder, vorbis_stream_decode(Decoder &decoder,
InputStream &input_stream) InputStream &input_stream)
...@@ -337,7 +347,7 @@ static const char *const vorbis_mime_types[] = { ...@@ -337,7 +347,7 @@ static const char *const vorbis_mime_types[] = {
const struct DecoderPlugin vorbis_decoder_plugin = { const struct DecoderPlugin vorbis_decoder_plugin = {
"vorbis", "vorbis",
nullptr, vorbis_init,
nullptr, nullptr,
vorbis_stream_decode, vorbis_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