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