mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 23:12:42 +00:00
[MOVED FROM BAD 085/134] vp8enc: Update for GstBaseVideoEncoder::finish() signature change
This commit is contained in:
parent
140bd5c092
commit
6af5e9ce38
1 changed files with 3 additions and 3 deletions
|
@ -799,7 +799,7 @@ gst_vp8_enc_process (GstVP8Enc * encoder)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static GstFlowReturn
|
||||||
gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder)
|
gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder)
|
||||||
{
|
{
|
||||||
GstVP8Enc *encoder;
|
GstVP8Enc *encoder;
|
||||||
|
@ -816,7 +816,7 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder)
|
||||||
if (status != 0) {
|
if (status != 0) {
|
||||||
GST_ERROR_OBJECT (encoder, "encode returned %d %s", status,
|
GST_ERROR_OBJECT (encoder, "encode returned %d %s", status,
|
||||||
gst_vpx_error_name (status));
|
gst_vpx_error_name (status));
|
||||||
return FALSE;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* dispatch remaining frames */
|
/* dispatch remaining frames */
|
||||||
|
@ -835,7 +835,7 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static vpx_image_t *
|
static vpx_image_t *
|
||||||
|
|
Loading…
Reference in a new issue