Commit 3d27fffc authored by Max Kellermann's avatar Max Kellermann

decoder/opus: call TagHandler::OnAudioFormat()

parent de0ee264
......@@ -355,6 +355,9 @@ mpd_opus_scan_stream(InputStream &is, TagHandler &handler) noexcept
!ReadAndVisitOpusTags(oy, os, handler))
return false;
handler.OnAudioFormat(AudioFormat(opus_sample_rate,
SampleFormat::S16, channels));
VisitOpusDuration(is, oy, os, handler);
return true;
}
......
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