[vlc-commits] demux: ts: add MPEG-H mapping

Francois Cartegnie git at videolan.org
Tue Dec 1 17:00:06 CET 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec  1 15:19:32 2020 +0100| [55871762e70232a6fccbae778acf94da68a74ef3] | committer: Francois Cartegnie

demux: ts: add MPEG-H mapping

final mapping is known since 2017

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

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

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index fbf6fb19c0..756cdaf9ac 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1594,6 +1594,10 @@ static void PIDFillFormat( demux_t *p_demux, ts_stream_t *p_pes,
     case 0x24:  /* HEVC */
         es_format_Change( fmt, VIDEO_ES, VLC_CODEC_HEVC );
         break;
+    case 0x2D:  /* MPEG-H main audio */
+    //case 0x2E:  /* MPEG-H auxiliary audio */
+        es_format_Change( fmt, AUDIO_ES, VLC_CODEC_MPEGH );
+        break;
     case 0x42:  /* CAVS (Chinese AVS) */
         es_format_Change( fmt, VIDEO_ES, VLC_CODEC_CAVS );
         break;



More information about the vlc-commits mailing list