From 9c08b2f53aaa027c100433349b000ad500f56ac0 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sun, 5 Mar 2023 20:01:44 +0900 Subject: [PATCH] vabaseenc: Fix return type of encode_frame vfunc Part-of: --- subprojects/gst-plugins-bad/sys/va/gstvabaseenc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/va/gstvabaseenc.h b/subprojects/gst-plugins-bad/sys/va/gstvabaseenc.h index 2db7c760b0..8c9b570ad1 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvabaseenc.h +++ b/subprojects/gst-plugins-bad/sys/va/gstvabaseenc.h @@ -84,9 +84,9 @@ struct _GstVaBaseEncClass GstVideoCodecFrame * frame, gboolean bump_all, GstVideoCodecFrame ** out_frame); - gboolean (*encode_frame) (GstVaBaseEnc * encoder, - GstVideoCodecFrame * frame, - gboolean is_last); + GstFlowReturn (*encode_frame) (GstVaBaseEnc * encoder, + GstVideoCodecFrame * frame, + gboolean is_last); void (*prepare_output) (GstVaBaseEnc * encoder, GstVideoCodecFrame * frame);