audiodecoder: Don't ignore ::start/stop return values

This commit is contained in:
Sebastian Dröge 2014-08-25 13:14:36 +03:00
parent 844ae7cc1c
commit 4a69d6ba3b

View file

@ -2616,7 +2616,7 @@ gst_audio_decoder_stop (GstAudioDecoder * dec)
if (ret) if (ret)
dec->priv->active = FALSE; dec->priv->active = FALSE;
return TRUE; return ret;
} }
static gboolean static gboolean
@ -2639,7 +2639,7 @@ gst_audio_decoder_start (GstAudioDecoder * dec)
if (ret) if (ret)
dec->priv->active = TRUE; dec->priv->active = TRUE;
return TRUE; return ret;
} }
static void static void