[vlc-commits] mux: ts: missing mpeg audio layer2

Francois Cartegnie git at videolan.org
Wed Dec 14 14:14:02 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Dec 14 13:54:08 2016 +0100| [57ab01be848071f271b0067e0825f555651a1594] | committer: Francois Cartegnie

mux: ts: missing mpeg audio layer2

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

 modules/mux/mpeg/tables.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/mux/mpeg/tables.c b/modules/mux/mpeg/tables.c
index 59f7a81..4025c33 100644
--- a/modules/mux/mpeg/tables.c
+++ b/modules/mux/mpeg/tables.c
@@ -653,6 +653,7 @@ int FillPMTESParams( ts_mux_standard standard, const es_format_t *fmt,
     /* AUDIO */
 
     case VLC_CODEC_MPGA:
+    case VLC_CODEC_MP2:
     case VLC_CODEC_MP3:
         ts->i_stream_type = fmt->audio.i_rate >= 32000 ? 0x03 : 0x04;
         pes->i_stream_id = 0xc0;



More information about the vlc-commits mailing list