mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 10:31:05 +00:00
baseparse: Fix debug output
We lose the reference to the buffer after gst_pad_push(), so the debug print should happen before. https://bugzilla.gnome.org/show_bug.cgi?id=622276
This commit is contained in:
parent
fbbc09e47d
commit
8ef15e6247
1 changed files with 1 additions and 1 deletions
|
@ -1577,9 +1577,9 @@ gst_base_parse_push_buffer (GstBaseParse * parse, GstBuffer * buffer)
|
|||
} else if (ret == GST_FLOW_OK) {
|
||||
if (parse->segment.rate > 0.0) {
|
||||
if (G_LIKELY (!parse->priv->skip)) {
|
||||
ret = gst_pad_push (parse->srcpad, buffer);
|
||||
GST_LOG_OBJECT (parse, "frame (%d bytes) pushed: %s",
|
||||
GST_BUFFER_SIZE (buffer), gst_flow_get_name (ret));
|
||||
ret = gst_pad_push (parse->srcpad, buffer);
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (parse, "initial frame (%d bytes) discarded",
|
||||
GST_BUFFER_SIZE (buffer));
|
||||
|
|
Loading…
Reference in a new issue