fix[h264e_sps]: fix constraint_set3_flag flag issue

When the profile idc is high profile and constraint_set3_flag=1,it must
obey some rules of high 10 intra profile, such as contain only IDR pictures.

Reference the h264 clause A.2.8 introduction.

Change-Id: I9f886925a3810bc4ad9c7e70ebdc2194354c6eb5
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
This commit is contained in:
Yandong Lin
2024-12-19 16:53:43 +08:00
parent 87f23da2e6
commit 729dd76195

View File

@@ -104,7 +104,7 @@ MPP_RET h264e_sps_update(H264eSps *sps, MppEncCfgSet *cfg)
sps->constraint_set0 = 0;
sps->constraint_set1 = 0;
sps->constraint_set2 = 0;
sps->constraint_set3 = 1;
sps->constraint_set3 = 0;
sps->constraint_set4 = 0;
sps->constraint_set5 = 0;
} break;