[vlc-devel] [PATCH 03/13] mp4: handle VLC_CODEC_DTSHD

Thomas Guillem thomas at gllm.fr
Tue Dec 19 12:38:34 CET 2017


---
 modules/demux/mp4/essetup.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index d893a163dc..04c80ec762 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -114,9 +114,11 @@ static void SetupESDS( demux_t *p_demux, mp4_track_t *p_track, const MP4_descrip
         p_track->fmt.i_codec = VLC_CODEC_EAC3;
         break;
     case( 0xa9 ): /* dts */
+        p_track->fmt.i_codec = VLC_CODEC_DTS;
+        break;
     case( 0xaa ): /* DTS-HD HRA */
     case( 0xab ): /* DTS-HD Master Audio */
-        p_track->fmt.i_codec = VLC_CODEC_DTS;
+        p_track->fmt.i_codec = VLC_CODEC_DTSHD;
         break;
     case( 0xDD ):
         p_track->fmt.i_codec = VLC_CODEC_VORBIS;
-- 
2.11.0



More information about the vlc-devel mailing list