audiodecoder: Remove pointless else{} around some code
This commit is contained in:
parent
7c0f885ad2
commit
c35e3e7c7d
@ -1443,7 +1443,7 @@ gst_audio_decoder_drain (GstAudioDecoder * dec)
|
||||
|
||||
if (dec->priv->drained && !dec->priv->gather)
|
||||
return GST_FLOW_OK;
|
||||
else {
|
||||
|
||||
/* Send any pending events before draining, as that
|
||||
* may update the pending segment info */
|
||||
send_pending_events (dec);
|
||||
@ -1477,7 +1477,6 @@ gst_audio_decoder_drain (GstAudioDecoder * dec)
|
||||
gst_adapter_clear (dec->priv->adapter);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
/* hard == FLUSH, otherwise discont */
|
||||
static GstFlowReturn
|
||||
|
Loading…
x
Reference in New Issue
Block a user