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
@ -131,6 +131,9 @@ gst_atsc_mux_create_new_stream (guint16 new_pid,
|
|||||||
ret->id = 0xBD;
|
ret->id = 0xBD;
|
||||||
ret->pi.flags |= TSMUX_PACKET_FLAG_PES_FULL_HEADER;
|
ret->pi.flags |= TSMUX_PACKET_FLAG_PES_FULL_HEADER;
|
||||||
ret->is_audio = TRUE;
|
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,
|
tsmux_stream_set_get_es_descriptors_func (ret,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user