mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
flac: add more logging
This commit is contained in:
parent
27248393e4
commit
ddedf6b797
2 changed files with 5 additions and 2 deletions
|
@ -1202,7 +1202,8 @@ gst_flac_enc_sink_event (GstAudioEncoder * enc, GstEvent * event)
|
|||
|
||||
flacenc = GST_FLAC_ENC (enc);
|
||||
|
||||
GST_DEBUG ("Received %s event on sinkpad", GST_EVENT_TYPE_NAME (event));
|
||||
GST_DEBUG ("Received %s event on sinkpad, %" GST_PTR_FORMAT,
|
||||
GST_EVENT_TYPE_NAME (event), event);
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_EOS:
|
||||
|
|
|
@ -199,6 +199,8 @@ gst_flac_tag_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
|||
|
||||
gst_adapter_push (tag->adapter, buffer);
|
||||
|
||||
GST_LOG_OBJECT (pad, "state: %d", tag->state);
|
||||
|
||||
/* Initial state, we don't even know if we are dealing with a flac file */
|
||||
if (tag->state == GST_FLAC_TAG_STATE_INIT) {
|
||||
GstBuffer *id_buffer;
|
||||
|
@ -428,7 +430,7 @@ gst_flac_tag_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
|||
}
|
||||
|
||||
cleanup:
|
||||
|
||||
GST_LOG_OBJECT (pad, "state: %d, ret: %d", tag->state, ret);
|
||||
return ret;
|
||||
|
||||
/* ERRORS */
|
||||
|
|
Loading…
Reference in a new issue