From 01f4a8191e3445bbd0368a6f7a4bc9e0a1e7829f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 13 Jun 2018 22:03:35 +0200 Subject: [PATCH] TrueHD/AC-3 converter: handle MLP, too Part of the fix of #2326. --- src/input/truehd_ac3_splitting_packet_converter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/truehd_ac3_splitting_packet_converter.cpp b/src/input/truehd_ac3_splitting_packet_converter.cpp index 5d26c8851..29eb80ea4 100644 --- a/src/input/truehd_ac3_splitting_packet_converter.cpp +++ b/src/input/truehd_ac3_splitting_packet_converter.cpp @@ -62,7 +62,7 @@ truehd_ac3_splitting_packet_converter_c::process_frames() { while (m_parser.frame_available()) { auto frame = m_parser.get_next_frame(); - if (frame->is_truehd() && m_ptzr) { + if ((frame->is_truehd() || frame->is_mlp()) && m_ptzr) { static_cast(m_ptzr)->process_framed(frame, m_truehd_timestamp); m_truehd_timestamp = -1;