TrueHD/AC-3 converter: handle MLP, too

Part of the fix of #2326.
This commit is contained in:
Moritz Bunkus 2018-06-13 22:03:35 +02:00
parent 347c230448
commit 01f4a8191e
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -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<truehd_packetizer_c *>(m_ptzr)->process_framed(frame, m_truehd_timestamp);
m_truehd_timestamp = -1;