From 4a69d6ba3bf38515aab9639f9e199d56fb30382c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 25 Aug 2014 13:14:36 +0300 Subject: [PATCH] audiodecoder: Don't ignore ::start/stop return values --- gst-libs/gst/audio/gstaudiodecoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c index 52e49aa122..cada95ba89 100644 --- a/gst-libs/gst/audio/gstaudiodecoder.c +++ b/gst-libs/gst/audio/gstaudiodecoder.c @@ -2616,7 +2616,7 @@ gst_audio_decoder_stop (GstAudioDecoder * dec) if (ret) dec->priv->active = FALSE; - return TRUE; + return ret; } static gboolean @@ -2639,7 +2639,7 @@ gst_audio_decoder_start (GstAudioDecoder * dec) if (ret) dec->priv->active = TRUE; - return TRUE; + return ret; } static void