summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-07-21 08:04:11 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-07-21 08:09:11 +0200
commit8ba4f9178f7dee5145848a819349b1cc1413e653 (patch)
tree97462eb30798f27a660ff0e53d98a0d1934e8456 /ext
parent43e575319e5caf882191382f658dc720b3dcfea9 (diff)
schroenc: Update for GstBaseVideoEncoder::finish() signature change
Diffstat (limited to 'ext')
-rw-r--r--ext/schroedinger/gstschroenc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/schroedinger/gstschroenc.c b/ext/schroedinger/gstschroenc.c
index 3dbe9fe99..669a61264 100644
--- a/ext/schroedinger/gstschroenc.c
+++ b/ext/schroedinger/gstschroenc.c
@@ -108,7 +108,8 @@ static gboolean gst_schro_enc_set_format (GstBaseVideoEncoder *
base_video_encoder, GstVideoState * state);
static gboolean gst_schro_enc_start (GstBaseVideoEncoder * base_video_encoder);
static gboolean gst_schro_enc_stop (GstBaseVideoEncoder * base_video_encoder);
-static gboolean gst_schro_enc_finish (GstBaseVideoEncoder * base_video_encoder);
+static GstFlowReturn gst_schro_enc_finish (GstBaseVideoEncoder *
+ base_video_encoder);
static GstFlowReturn gst_schro_enc_handle_frame (GstBaseVideoEncoder *
base_video_encoder, GstVideoFrame * frame);
static GstFlowReturn gst_schro_enc_shape_output (GstBaseVideoEncoder *
@@ -440,7 +441,7 @@ gst_schro_enc_stop (GstBaseVideoEncoder * base_video_encoder)
return TRUE;
}
-static gboolean
+static GstFlowReturn
gst_schro_enc_finish (GstBaseVideoEncoder * base_video_encoder)
{
GstSchroEnc *schro_enc = GST_SCHRO_ENC (base_video_encoder);
@@ -450,7 +451,7 @@ gst_schro_enc_finish (GstBaseVideoEncoder * base_video_encoder)
schro_encoder_end_of_stream (schro_enc->encoder);
gst_schro_enc_process (schro_enc);
- return TRUE;
+ return GST_FLOW_OK;
}
static GstFlowReturn