From fbf143b0fde061e5ef1cb6950c907043f65aec08 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);