[vlc-devel] commit: Fix BD TrueHD and LPCM fourcc (ts). (Laurent Aimar )

git version control git at videolan.org
Sat Nov 29 10:53:19 CET 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Nov 28 20:52:41 2008 +0100| [bb4404e10b494ce4142556601ff3a527e3b88f34] | committer: Laurent Aimar 

Fix BD TrueHD and LPCM fourcc (ts).

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

 modules/demux/ts.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 9a195ed..28e5205 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -3720,7 +3720,7 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
             {
             case 0x80:
                 pid->es->fmt.i_cat = AUDIO_ES;
-                pid->es->fmt.i_codec = VLC_FOURCC( 'l', 'p', 'c', 'm' );
+                pid->es->fmt.i_codec = VLC_FOURCC( 'b', 'p', 'c', 'm' );
                 break;
             case 0x82:
             case 0x85: /* DTS-HD High resolution audio */
@@ -3729,7 +3729,12 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt )
                 pid->es->fmt.i_cat = AUDIO_ES;
                 pid->es->fmt.i_codec = VLC_FOURCC( 'd', 't', 's', ' ' );
                 break;
+
             case 0x83: /* TrueHD AC3 */
+                pid->es->fmt.i_cat = AUDIO_ES;
+                pid->es->fmt.i_codec = VLC_FOURCC( 'm', 'l', 'p', ' ' );
+                break;
+
             case 0x84: /* E-AC3 */
             case 0x87: /* E-AC3 */
             case 0xA1: /* Secondary E-AC3 */




More information about the vlc-devel mailing list