audiodecoder: Don't ignore ::start/stop return values
This commit is contained in:
parent
844ae7cc1c
commit
4a69d6ba3b
@ -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…
x
Reference in New Issue
Block a user