[bTSstream-devel] [Git][videolan/bitstream][master] mpeg/psi/desc_0e.h: make maximum bitrate descriptor more explicit
Christophe Massiot (@cmassiot)
gitlab at videolan.org
Sat Nov 22 16:35:28 UTC 2025
Christophe Massiot pushed to branch master at VideoLAN / bitstream
Commits:
e0e3b2f7 by Christophe Massiot at 2025-11-22T17:34:20+01:00
mpeg/psi/desc_0e.h: make maximum bitrate descriptor more explicit
Previously, the "decoded bitrate" value was actually octetrate.
- - - - -
1 changed file:
- mpeg/psi/desc_0e.h
Changes:
=====================================
mpeg/psi/desc_0e.h
=====================================
@@ -74,12 +74,16 @@ static inline void desc0e_print(const uint8_t *p_desc, f_print pf_print,
{
switch (i_print_type) {
case PRINT_XML:
- pf_print(opaque, "<MAXIMUM_BITRATE_DESC max_bitrate=\"%u\" max_bitrate_decoded=\"%u\"/>",
- desc0e_get_max_bitrate(p_desc), desc0e_get_max_bitrate(p_desc) * 50);
+ pf_print(opaque, "<MAXIMUM_BITRATE_DESC max_bitrate_raw=\"%u\" max_octetrate=\"%u\" max_bitrate=\"%u\"/>",
+ desc0e_get_max_bitrate(p_desc),
+ desc0e_get_max_bitrate(p_desc) * 50,
+ desc0e_get_max_bitrate(p_desc) * 50000);
break;
default:
- pf_print(opaque, " - desc 0e maximum_bitrate max_bitrate=%u max_bitrate_decoded=%u",
- desc0e_get_max_bitrate(p_desc), desc0e_get_max_bitrate(p_desc) * 50);
+ pf_print(opaque, " - desc 0e maximum_bitrate max_bitrate_raw=%u max_octetrate=%u max_bitrate=%u",
+ desc0e_get_max_bitrate(p_desc),
+ desc0e_get_max_bitrate(p_desc) * 50,
+ desc0e_get_max_bitrate(p_desc) * 50000);
}
}
View it on GitLab: https://code.videolan.org/videolan/bitstream/-/commit/e0e3b2f7a38792c756c2f75a0aef47676fb4696b
--
View it on GitLab: https://code.videolan.org/videolan/bitstream/-/commit/e0e3b2f7a38792c756c2f75a0aef47676fb4696b
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the biTStream-devel
mailing list