[vlc-commits] demux: mp4: fix DTS-HD mapping

Thomas Guillem git at videolan.org
Mon Jan 22 15:41:44 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jan 22 15:40:43 2018 +0100| [6d7f4d009b5127e9f0948f521956a5461836f16d] | committer: Thomas Guillem

demux: mp4: fix DTS-HD mapping

Regression from 5ca1ca1cb6c1e98a206df3463383d1e1ebcb41a3

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d7f4d009b5127e9f0948f521956a5461836f16d
---

 modules/demux/mp4/essetup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 1358946b90..0f785f60ff 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -1009,6 +1009,7 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
         case ATOM_dtsh: /* DTS‐HD audio formats */
         case ATOM_dtsl: /* DTS‐HD Lossless formats */
         {
+            p_track->fmt.i_codec = VLC_CODEC_DTS;
             p_track->fmt.i_profile = PROFILE_DTS_HD;
             break;
         }



More information about the vlc-commits mailing list