]> git.sesse.net Git - vlc/commitdiff
TS mux: group codecs using the same IDs
authorRafaël Carré <funman@videolan.org>
Wed, 10 Sep 2014 08:32:50 +0000 (10:32 +0200)
committerRafaël Carré <funman@videolan.org>
Wed, 10 Sep 2014 08:32:50 +0000 (10:32 +0200)
modules/mux/mpeg/ts.c

index 4f13f056b52bf6625fa2bf33033340ea9f99b485..05ea2a26c24cc81764c2f9b46a44d6726e4335b8 100644 (file)
@@ -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;