[vlc-commits] packetizer: h264: set proper DPB for baseline profile
Francois Cartegnie
git at videolan.org
Fri Jul 19 17:27:23 CEST 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jul 19 17:14:35 2019 +0200| [e9b64c1da9c125b553ec85e90cad9fae58796a2a] | committer: Francois Cartegnie
packetizer: h264: set proper DPB for baseline profile
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9b64c1da9c125b553ec85e90cad9fae58796a2a
---
modules/packetizer/h264_nal.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/packetizer/h264_nal.c b/modules/packetizer/h264_nal.c
index 0cf35899ab..e75c87a602 100644
--- a/modules/packetizer/h264_nal.c
+++ b/modules/packetizer/h264_nal.c
@@ -734,6 +734,9 @@ bool h264_get_dpb_values( const h264_sequence_parameter_set_t *p_sps,
{
switch( p_sps->i_profile ) /* E-2.1 */
{
+ case PROFILE_H264_BASELINE:
+ i_max_num_reorder_frames = 0; /* only I & P */
+ break;
case PROFILE_H264_CAVLC_INTRA:
case PROFILE_H264_SVC_HIGH:
case PROFILE_H264_HIGH:
More information about the vlc-commits
mailing list