mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
audioencoder: add a few more debug statements
This commit is contained in:
parent
9bfa65b7d3
commit
e3c78ff661
1 changed files with 4 additions and 1 deletions
|
@ -790,10 +790,13 @@ gst_audio_encoder_push_buffers (GstAudioEncoder * enc, gboolean force)
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_audio_encoder_drain (GstAudioEncoder * enc)
|
gst_audio_encoder_drain (GstAudioEncoder * enc)
|
||||||
{
|
{
|
||||||
|
GST_DEBUG_OBJECT (enc, "draining");
|
||||||
if (enc->priv->drained)
|
if (enc->priv->drained)
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
else
|
else {
|
||||||
|
GST_DEBUG_OBJECT (enc, "... really");
|
||||||
return gst_audio_encoder_push_buffers (enc, TRUE);
|
return gst_audio_encoder_push_buffers (enc, TRUE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue