[vlc-commits] [Git][videolan/vlc][master] mux: ts: fix VLC_CODEC_OPUS i_stream_type

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri May 13 11:06:52 UTC 2022



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
31c7dc12 by shangjinlong at 2022-05-13T10:48:26+00:00
mux: ts: fix VLC_CODEC_OPUS i_stream_type
- - - - -


1 changed file:

- modules/mux/mpeg/tables.c


Changes:

=====================================
modules/mux/mpeg/tables.c
=====================================
@@ -812,8 +812,8 @@ int FillPMTESParams( ts_mux_standard standard, const es_format_t *fmt,
     case VLC_CODEC_OPUS:
         if (fmt->audio.i_channels > 8)
             return VLC_EGENERIC;
+        ts->i_stream_type = 0x06;
         pes->i_stream_id = 0xbd;
-        pes->i_stream_id = 0x06;
         break;
     case VLC_CODEC_EAC3:
         pes->i_stream_id = 0xbd;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/31c7dc12042088e3d9f5a806b04e7970490c75c3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/31c7dc12042088e3d9f5a806b04e7970490c75c3
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list