1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2025-04-15 08:14:15 +00:00
This commit is contained in:
damitha 2025-03-19 18:37:44 +11:00
parent d33ea6eb09
commit e850368b23

View file

@ -400,8 +400,8 @@ pub struct DecoderConfigDescriptor {
impl DecoderConfigDescriptor {
pub fn new(config: &AacConfig) -> Self {
Self {
object_type_indication: 0x40, // XXX AAC
stream_type: 0x05, // XXX Audio
object_type_indication: config.object_type_indication, // XXX AAC
stream_type: config.stream_type, // XXX Audio
up_stream: 0,
buffer_size_db: 0,
max_bitrate: config.bitrate, // XXX