mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
audiodecoder: Don't ignore ::start/stop return values
This commit is contained in:
parent
844ae7cc1c
commit
4a69d6ba3b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue