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:
Mathieu Duponchelle 2019-08-13 23:24:41 +02:00 committed by Mathieu Duponchelle
parent f5a3d7b497
commit 61a7707eca

View file

@ -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,