summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-07-21 08:03:27 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-07-21 08:09:11 +0200
commit1333ef9bbf72f3dde88adbc862d78a7622b2ef9b (patch)
tree27326ef0b09c0ebfeef3baeb7f180c28f44f978e /ext
parent976d372f9b6256bb39dd067b638e6fc96e382309 (diff)
diracenc: Update for GstBaseVideoEncoder::finish() signature change
Diffstat (limited to 'ext')
-rw-r--r--ext/dirac/gstdiracenc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dirac/gstdiracenc.cc b/ext/dirac/gstdiracenc.cc
index 7239ccf27..c42fc17eb 100644
--- a/ext/dirac/gstdiracenc.cc
+++ b/ext/dirac/gstdiracenc.cc
@@ -150,7 +150,7 @@ static gboolean gst_dirac_enc_set_format (GstBaseVideoEncoder *
base_video_encoder, GstVideoState * state);
static gboolean gst_dirac_enc_start (GstBaseVideoEncoder * base_video_encoder);
static gboolean gst_dirac_enc_stop (GstBaseVideoEncoder * base_video_encoder);
-static gboolean gst_dirac_enc_finish (GstBaseVideoEncoder * base_video_encoder);
+static GstFlowReturn gst_dirac_enc_finish (GstBaseVideoEncoder * base_video_encoder);
static GstFlowReturn gst_dirac_enc_handle_frame (GstBaseVideoEncoder *
base_video_encoder, GstVideoFrame * frame);
static GstFlowReturn gst_dirac_enc_shape_output (GstBaseVideoEncoder *
@@ -842,7 +842,7 @@ gst_dirac_enc_stop (GstBaseVideoEncoder * base_video_encoder)
return TRUE;
}
-static gboolean
+static GstFlowReturn
gst_dirac_enc_finish (GstBaseVideoEncoder * base_video_encoder)
{
GstDiracEnc *dirac_enc = GST_DIRAC_ENC (base_video_encoder);
@@ -851,7 +851,7 @@ gst_dirac_enc_finish (GstBaseVideoEncoder * base_video_encoder)
gst_dirac_enc_process (dirac_enc, TRUE);
- return TRUE;
+ return GST_FLOW_OK;
}
static GstFlowReturn