[vlc-commits] demux: ts: add HDMV AC-3 registration

Francois Cartegnie git at videolan.org
Thu Feb 5 21:43:18 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Feb  5 21:41:04 2015 +0100| [c9e930e1a58e8ae15345af3f33711eb9c5338cdb] | committer: Francois Cartegnie

demux: ts: add HDMV AC-3 registration

refs issues/TS/IMAX.Blue.Planet.ts

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

 modules/demux/ts.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 1fa6c4e..00f161d 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -4694,6 +4694,10 @@ static bool PMTSetupEsHDMV( demux_t *p_demux, ts_pid_t *pid,
         p_fmt->i_cat = AUDIO_ES;
         p_fmt->i_codec = VLC_CODEC_BD_LPCM;
         break;
+    case 0x81:
+        p_fmt->i_cat = AUDIO_ES;
+        p_fmt->i_codec = VLC_CODEC_A52;
+        break;
     case 0x82:
     case 0x85: /* DTS-HD High resolution audio */
     case 0x86: /* DTS-HD Master audio */



More information about the vlc-commits mailing list