mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 09:36:49 +08:00
[h264e]: Fix error of missing cropping info
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I773027fee1d0b0b0f16efa118a0447cf08c7835a
This commit is contained in:
@@ -148,6 +148,7 @@ MPP_RET h264e_sps_update(SynH264eSps *sps, MppEncCfgSet *cfg, MppDeviceId dev)
|
||||
// baseline disable 8x8
|
||||
sps->direct8x8_inference = h264->transform8x8_mode;
|
||||
if (crop_right || crop_bottom) {
|
||||
sps->cropping = 1;
|
||||
sps->crop.left = 0;
|
||||
sps->crop.right = crop_right;
|
||||
sps->crop.top = 0;
|
||||
|
Reference in New Issue
Block a user