audioencoder: add a few more debug statements
This commit is contained in:
parent
9bfa65b7d3
commit
e3c78ff661
@ -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…
x
Reference in New Issue
Block a user