mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
oggdemux: Add a little timestamping debug output
This commit is contained in:
parent
f852f3bc75
commit
d3f6d2b887
1 changed files with 3 additions and 2 deletions
|
@ -711,6 +711,7 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet,
|
||||||
/* don't push the header packets when we are asked to skip them */
|
/* don't push the header packets when we are asked to skip them */
|
||||||
if (!packet->b_o_s || push_headers) {
|
if (!packet->b_o_s || push_headers) {
|
||||||
if (pad->last_ret == GST_FLOW_OK) {
|
if (pad->last_ret == GST_FLOW_OK) {
|
||||||
|
GST_LOG_OBJECT (ogg, "Pushing buf %" GST_PTR_FORMAT, buf);
|
||||||
ret = gst_pad_push (GST_PAD_CAST (pad), buf);
|
ret = gst_pad_push (GST_PAD_CAST (pad), buf);
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG_OBJECT (ogg, "not pushing buffer on error pad");
|
GST_DEBUG_OBJECT (ogg, "not pushing buffer on error pad");
|
||||||
|
@ -748,8 +749,8 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet,
|
||||||
/* and store as the current position */
|
/* and store as the current position */
|
||||||
ogg->segment.position = current_time;
|
ogg->segment.position = current_time;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (ogg, "ogg current time %" GST_TIME_FORMAT,
|
GST_DEBUG_OBJECT (ogg, "ogg current time %" GST_TIME_FORMAT
|
||||||
GST_TIME_ARGS (current_time));
|
" (%" G_GINT64_FORMAT ")", GST_TIME_ARGS (current_time), current_time);
|
||||||
|
|
||||||
/* check stream eos */
|
/* check stream eos */
|
||||||
if (!pad->is_eos && !delta_unit &&
|
if (!pad->is_eos && !delta_unit &&
|
||||||
|
|
Loading…
Reference in a new issue