[vlc-commits] [Git][videolan/vlc][master] packetizer: h264: add one more zero reorder case
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Fri Feb 17 20:41:45 UTC 2023
François Cartegnie pushed to branch master at VideoLAN / VLC
Commits:
43ad8704 by Francois Cartegnie at 2023-02-17T20:24:38+00:00
packetizer: h264: add one more zero reorder case
- - - - -
1 changed file:
- modules/packetizer/h264_nal.c
Changes:
=====================================
modules/packetizer/h264_nal.c
=====================================
@@ -775,7 +775,11 @@ bool h264_get_dpb_values( const h264_sequence_parameter_set_t *p_sps,
uint8_t *pi_depth, unsigned *pi_delay )
{
uint8_t i_max_num_reorder_frames = p_sps->vui.i_max_num_reorder_frames;
- if( !p_sps->vui.b_bitstream_restriction_flag )
+ if( p_sps->i_pic_order_cnt_type == 2 ) /* 8.2.1.3 */
+ {
+ i_max_num_reorder_frames = 0;
+ }
+ else if( !p_sps->vui.b_bitstream_restriction_flag )
{
switch( p_sps->i_profile ) /* E-2.1 */
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/43ad8704ffbc54004cb8fa5fd81845125be8e124
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/43ad8704ffbc54004cb8fa5fd81845125be8e124
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list