[vlc-commits] demux: mp4: fix truehd mapping
Francois Cartegnie
git at videolan.org
Tue Dec 29 09:36:36 UTC 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 29 10:34:10 2020 +0100| [dcb8bc8ad9750604ea225537b6bf71edce8f5817] | committer: Francois Cartegnie
demux: mp4: fix truehd mapping
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dcb8bc8ad9750604ea225537b6bf71edce8f5817
---
modules/demux/mp4/essetup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index d89489ae06..04b276964b 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -967,8 +967,9 @@ int SetupAudioES( demux_t *p_demux, const mp4_track_t *p_track,
}
break;
}
- case VLC_CODEC_TRUEHD:
+ case VLC_FOURCC( 'm', 'l', 'p', 'a' ):
/* spec violation: 32 bits rate instead of fixed point */
+ p_fmt->i_codec = VLC_CODEC_TRUEHD;
p_fmt->audio.i_rate = (p_soun->i_sampleratehi << 16) | p_soun->i_sampleratelo;
break;
More information about the vlc-commits
mailing list