[vlc-commits] MP4: support DTS in ObjectTypeIndication

Jean-Baptiste Kempf git at videolan.org
Fri Mar 30 18:11:39 CEST 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 27 22:10:27 2012 +0200| [252b6fdf8b3904dbc2db28c5ea17ea0d04642954] | committer: Jean-Baptiste Kempf

MP4: support DTS in ObjectTypeIndication
(cherry picked from commit f6dd8d2f62f14ce6fd03e7f642113efba1ab060d)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=252b6fdf8b3904dbc2db28c5ea17ea0d04642954
---

 modules/demux/mp4/mp4.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 96b2c66..7270909 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1923,6 +1923,11 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
             case( 0xa3 ): /* vc1 */
                 p_track->fmt.i_codec = VLC_FOURCC( 'W','V','C','1' );
                 break;
+            case( 0xa9 ): /* dts */
+            case( 0xaa ): /* DTS-HD HRA */
+            case( 0xab ): /* DTS-HD Master Audio */
+                p_track->fmt.i_codec = VLC_CODEC_DTS;
+                break;
 
             /* Private ID */
             case( 0xe0 ): /* NeroDigital: dvd subs */



More information about the vlc-commits mailing list