gst-plugins-bad: faad: parse wants a GstFlowReturn return value, not a gboolean
Tim Müller
tpm at kemper.freedesktop.org
Fri Sep 23 02:18:48 PDT 2011
Module: gst-plugins-bad
Branch: master
Commit: c9f7e9b26dc83b861f87739febd51a22d6701ebf
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=c9f7e9b26dc83b861f87739febd51a22d6701ebf
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Fri Sep 23 09:57:01 2011 +0100
faad: parse wants a GstFlowReturn return value, not a gboolean
---
ext/faad/gstfaad.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index ae851da..cc72760 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -650,7 +650,7 @@ gst_faad_parse (GstAudioDecoder * dec, GstAdapter * adapter,
faad = GST_FAAD (dec);
size = gst_adapter_available (adapter);
- g_return_val_if_fail (size > 0, FALSE);
+ g_return_val_if_fail (size > 0, GST_FLOW_ERROR);
gst_audio_decoder_get_parse_state (dec, &sync, &eos);
More information about the gstreamer-commits
mailing list