diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-07-21 08:03:51 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-07-21 08:09:11 +0200 |
commit | 43e575319e5caf882191382f658dc720b3dcfea9 (patch) | |
tree | 53ed03380d5d41bd627743e8ad29a127536ba694 /ext/vp8 | |
parent | 1333ef9bbf72f3dde88adbc862d78a7622b2ef9b (diff) | |
download | gstreamer-plugins-bad-43e575319e5caf882191382f658dc720b3dcfea9.tar.gz |
vp8enc: Update for GstBaseVideoEncoder::finish() signature change
Diffstat (limited to 'ext/vp8')
-rw-r--r-- | ext/vp8/gstvp8enc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index ef278d586..e3903d97f 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -799,7 +799,7 @@ gst_vp8_enc_process (GstVP8Enc * encoder) return ret; } -static gboolean +static GstFlowReturn gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder) { GstVP8Enc *encoder; @@ -816,7 +816,7 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder) if (status != 0) { GST_ERROR_OBJECT (encoder, "encode returned %d %s", status, gst_vpx_error_name (status)); - return FALSE; + return GST_FLOW_ERROR; } /* 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 * |