mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
atscmux: fix AC-3 stream id
According to ATSC A/52, Annex A, section 4.2: The value of stream_id in the PES header shall be 0xBD (indicating private_stream_1)
This commit is contained in:
parent
f5a3d7b497
commit
61a7707eca
1 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,9 @@ gst_atsc_mux_create_new_stream (guint16 new_pid,
|
|||
ret->id = 0xBD;
|
||||
ret->pi.flags |= TSMUX_PACKET_FLAG_PES_FULL_HEADER;
|
||||
ret->is_audio = TRUE;
|
||||
} else if (stream_type == TSMUX_ST_PS_AUDIO_AC3) {
|
||||
ret->id = 0xBD;
|
||||
ret->id_extended = 0;
|
||||
}
|
||||
|
||||
tsmux_stream_set_get_es_descriptors_func (ret,
|
||||
|
|
Loading…
Reference in a new issue