mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user