vabaseenc: Fix return type of encode_frame vfunc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4614>
This commit is contained in:
Seungha Yang 2023-03-05 20:01:44 +09:00 committed by Tim-Philipp Müller
parent 8508ce0bc0
commit 9c08b2f53a

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