[vlc-commits] MP4: support DTS in ObjectTypeIndication

Jean-Baptiste Kempf git at videolan.org
Tue Mar 27 23:26:24 CEST 2012


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

MP4: support DTS in ObjectTypeIndication

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

 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 c45d434..ddd131f 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1897,6 +1897,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