[vlc-commits] demux: mp4: tag LBR sampledescription
Francois Cartegnie
git at videolan.org
Mon Mar 11 19:47:13 CET 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Mar 11 19:46:38 2019 +0100| [82e66918eb04fed8b03e241504dc6000471be307] | committer: Francois Cartegnie
demux: mp4: tag LBR sampledescription
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82e66918eb04fed8b03e241504dc6000471be307
---
modules/demux/mp4/essetup.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 8395948d85..4ec1bbc85b 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -1084,7 +1084,18 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
break;
}
- case ATOM_dtse: /* DTS‐HD Lossless formats */
+ case ATOM_dtsc: /* DTS */
+ {
+ p_track->fmt.i_codec = VLC_CODEC_DTS;
+ p_track->fmt.i_profile = PROFILE_DTS;
+ break;
+ }
+ case ATOM_dtse: /* DTS LBR */
+ {
+ p_track->fmt.i_codec = VLC_CODEC_DTS;
+ p_track->fmt.i_profile = PROFILE_DTS_EXPRESS;
+ break;
+ }
case ATOM_dtsh: /* DTS‐HD audio formats */
case ATOM_dtsl: /* DTS‐HD Lossless formats */
{
More information about the vlc-commits
mailing list