[vlc-commits] TS mux: group codecs using the same IDs

Rafaël Carré git at videolan.org
Wed Sep 10 10:37:44 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Sep 10 10:32:50 2014 +0200| [0e8e2176b83c39c9588d27de1c32651b579513c3] | committer: Rafaël Carré

TS mux: group codecs using the same IDs

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

 modules/mux/mpeg/ts.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index 4f13f05..05ea2a2 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -950,14 +950,11 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
         p_stream->i_stream_type = 0x81;
         p_stream->i_stream_id = 0xbd;
         break;
-    case VLC_CODEC_EAC3:
-        p_stream->i_stream_type = 0x06;
-        p_stream->i_stream_id = 0xbd;
-        break;
     case VLC_CODEC_DVD_LPCM:
         p_stream->i_stream_type = 0x83;
         p_stream->i_stream_id = 0xbd;
         break;
+    case VLC_CODEC_EAC3:
     case VLC_CODEC_DTS:
         p_stream->i_stream_type = 0x06;
         p_stream->i_stream_id = 0xbd;



More information about the vlc-commits mailing list