From: Boyuan Zhang Date: Tue, 7 Nov 2017 21:20:25 +0000 (-0500) Subject: radeon/vcn: add encode end frame X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f83c24366a83083fa2db4d957a168fdc6df7c92;p=mesa.git radeon/vcn: add encode end frame Add implementation for end_frame interface for vcn encode. Signed-off-by: Boyuan Zhang Acked-by: Christian König --- diff --git a/src/gallium/drivers/radeon/radeon_vcn_enc.c b/src/gallium/drivers/radeon/radeon_vcn_enc.c index f78672a1b1a..05e7e836246 100644 --- a/src/gallium/drivers/radeon/radeon_vcn_enc.c +++ b/src/gallium/drivers/radeon/radeon_vcn_enc.c @@ -174,7 +174,8 @@ static void radeon_enc_end_frame(struct pipe_video_codec *encoder, struct pipe_video_buffer *source, struct pipe_picture_desc *picture) { - /* TODO*/ + struct radeon_encoder *enc = (struct radeon_encoder*)encoder; + flush(enc); } static void radeon_enc_destroy(struct pipe_video_codec *encoder)