[vlc-commits] [Git][videolan/vlc][3.0.x] mux: ts: fix VLC_CODEC_OPUS i_stream_type

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Tue May 17 11:56:24 UTC 2022



Hugo Beauzée-Luyssen pushed to branch 3.0.x at VideoLAN / VLC


Commits:
32548ba0 by shangjinlong at 2022-05-17T11:31:23+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/32548ba0bbc9eece6bded795c24d1c3be2343c65

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/32548ba0bbc9eece6bded795c24d1c3be2343c65
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