Signed-off-by: Pengfei Qu <[email protected]>
---
src/gen9_mfc_hevc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gen9_mfc_hevc.c b/src/gen9_mfc_hevc.c
index bc9225a..019dadf 100644
--- a/src/gen9_mfc_hevc.c
+++ b/src/gen9_mfc_hevc.c
@@ -2666,6 +2666,7 @@ static VAStatus intel_hcpe_yuv_prepare(struct
encode_state *encode_state,
&dst_surface,
&rect);
assert(status == VA_STATUS_SUCCESS);
+ i965_SyncSurface(ctx,vme_context->input_yuv_surface_internal);
//convert ref P010->NV12
for (i = 0; i < 15; i++) {
@@ -2719,6 +2720,7 @@ static VAStatus intel_hcpe_yuv_prepare(struct
encode_state *encode_state,
&dst_surface,
&rect);
assert(status == VA_STATUS_SUCCESS);
+
i965_SyncSurface(ctx,vme_context->reference_surface_internal[i]);
}
}
}
--
2.7.4
_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva