[test]: Add header extraction for H.265 encoder

Change-Id: Idc6760c5fe95c90adeddf42afb3948e35c839af6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2020-03-26 14:50:49 +08:00
parent a561a987c1
commit f941d184be

View File

@@ -357,7 +357,7 @@ MPP_RET test_mpp_run(MpiEncTestData *p)
mpi = p->mpi;
ctx = p->ctx;
if (p->type == MPP_VIDEO_CodingAVC) {
if (p->type == MPP_VIDEO_CodingAVC || p->type == MPP_VIDEO_CodingHEVC) {
MppPacket packet = NULL;
ret = mpi->control(ctx, MPP_ENC_GET_EXTRA_INFO, &packet);
if (ret) {