diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-10-27 09:08:41 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-10-27 23:06:26 +0530 |
commit | 83df90ed6c75dc387915366ce547f08649e60cde (patch) | |
tree | fc6735c43e3be1a1e09932510e4d658b8671ef65 /ext | |
parent | 27df1b6c902f0c1790eae884265b44b465d1fbb4 (diff) | |
download | gstreamer-plugins-bad-83df90ed6c75dc387915366ce547f08649e60cde.tar.gz |
Fix incorrect return type in several functions
All these should return GstFlowReturn, not gboolean
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dts/gstdtsdec.c | 2 | ||||
-rw-r--r-- | ext/faad/gstfaad.c | 2 | ||||
-rw-r--r-- | ext/gl/gstglviewconvert.c | 2 | ||||
-rw-r--r-- | ext/schroedinger/gstschrodec.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c index 70ffbc7a0..1c91ce195 100644 --- a/ext/dts/gstdtsdec.c +++ b/ext/dts/gstdtsdec.c @@ -131,7 +131,7 @@ G_DEFINE_TYPE (GstDtsDec, gst_dtsdec, GST_TYPE_AUDIO_DECODER); static gboolean gst_dtsdec_start (GstAudioDecoder * dec); static gboolean gst_dtsdec_stop (GstAudioDecoder * dec); static gboolean gst_dtsdec_set_format (GstAudioDecoder * bdec, GstCaps * caps); -static gboolean gst_dtsdec_parse (GstAudioDecoder * dec, GstAdapter * adapter, +static GstFlowReturn gst_dtsdec_parse (GstAudioDecoder * dec, GstAdapter * adapter, gint * offset, gint * length); static GstFlowReturn gst_dtsdec_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer); diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 07cca309a..09d927c82 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -93,7 +93,7 @@ static void gst_faad_reset (GstFaad * faad); static gboolean gst_faad_start (GstAudioDecoder * dec); static gboolean gst_faad_stop (GstAudioDecoder * dec); static gboolean gst_faad_set_format (GstAudioDecoder * dec, GstCaps * caps); -static gboolean gst_faad_parse (GstAudioDecoder * dec, GstAdapter * adapter, +static GstFlowReturn gst_faad_parse (GstAudioDecoder * dec, GstAdapter * adapter, gint * offset, gint * length); static GstFlowReturn gst_faad_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer); diff --git a/ext/gl/gstglviewconvert.c b/ext/gl/gstglviewconvert.c index ba05a11f1..617df449d 100644 --- a/ext/gl/gstglviewconvert.c +++ b/ext/gl/gstglviewconvert.c @@ -88,7 +88,7 @@ static GstCaps *gst_gl_view_convert_element_fixate_caps (GstBaseTransform * static GstFlowReturn gst_gl_view_convert_element_submit_input_buffer (GstBaseTransform * trans, gboolean is_discont, GstBuffer * input); -static gboolean +static GstFlowReturn gst_gl_view_convert_element_generate_output_buffer (GstBaseTransform * bt, GstBuffer ** outbuf); diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c index 359a5940f..693e31c8b 100644 --- a/ext/schroedinger/gstschrodec.c +++ b/ext/schroedinger/gstschrodec.c @@ -93,7 +93,7 @@ static GstFlowReturn gst_schro_dec_parse (GstVideoDecoder * gboolean at_eos); static GstFlowReturn gst_schro_dec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame); -static gboolean gst_schro_dec_finish (GstVideoDecoder * base_video_decoder); +static GstFlowReturn gst_schro_dec_finish (GstVideoDecoder * base_video_decoder); static void gst_schrodec_send_tags (GstSchroDec * schro_dec); static gboolean gst_schro_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query); @@ -557,7 +557,7 @@ gst_schro_dec_handle_frame (GstVideoDecoder * base_video_decoder, return gst_schro_dec_process (schro_dec, FALSE); } -gboolean +GstFlowReturn gst_schro_dec_finish (GstVideoDecoder * base_video_decoder) { GstSchroDec *schro_dec; |