[vlc-commits] demux: mp4: fill DTS profile
Thomas Guillem
git at videolan.org
Wed Dec 20 19:14:17 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 20 14:08:11 2017 +0100| [7612232592a864ac20e4a8fedd8e94efc72a13ed] | committer: Thomas Guillem
demux: mp4: fill DTS profile
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7612232592a864ac20e4a8fedd8e94efc72a13ed
---
modules/demux/mp4/essetup.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 6bbc87a654..4b10e3ea8f 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -27,6 +27,7 @@
#include "mp4.h"
#include "avci.h"
#include "../xiph.h"
+#include "../../packetizer/dts_header.h"
#include <vlc_demux.h>
#include <vlc_aout.h>
@@ -114,9 +115,11 @@ static void SetupESDS( demux_t *p_demux, mp4_track_t *p_track, const MP4_descrip
case( 0xa6 ):
p_track->fmt.i_codec = VLC_CODEC_EAC3;
break;
- case( 0xa9 ): /* dts */
case( 0xaa ): /* DTS-HD HRA */
case( 0xab ): /* DTS-HD Master Audio */
+ p_track->fmt.i_profile = PROFILE_DTS_HD;
+ /* fallthrough */
+ case( 0xa9 ): /* dts */
p_track->fmt.i_codec = VLC_CODEC_DTS;
break;
case( 0xDD ):
More information about the vlc-commits
mailing list