vabaseenc: Fix return type of encode_frame vfunc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4113>
This commit is contained in:
Seungha Yang 2023-03-05 20:01:44 +09:00 committed by GStreamer Marge Bot
parent 2f98234287
commit fbf143b0fd

View file

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