[vlc-commits] demux: mp4: fill DTS profile
Thomas Guillem
git at videolan.org
Thu Dec 21 10:53:05 CET 2017
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 20 14:08:11 2017 +0100| [c99021a0c7c1ab8450aa9549edddd632fc8fa629] | committer: Jean-Baptiste Kempf
demux: mp4: fill DTS profile
(cherry picked from commit 7612232592a864ac20e4a8fedd8e94efc72a13ed)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=c99021a0c7c1ab8450aa9549edddd632fc8fa629
---
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 d893a163dc..33c0249c7d 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>
@@ -113,9 +114,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