From 26cd1f108e2a1e250f38d6d900f321b545d598fd Mon Sep 17 00:00:00 2001 From: Jun Xie Date: Wed, 20 Dec 2017 15:01:16 +0800 Subject: adaptivedemux: fix pending_segment log pending_segment shall be logged as GST_PTR_FORMAT, it's an event https://bugzilla.gnome.org/show_bug.cgi?id=791813 --- gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index 02f151e0f..94c67fb55 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -1509,8 +1509,8 @@ gst_adaptive_demux_update_streams_segment (GstAdaptiveDemux * demux, seg_evt = gst_event_new_segment (&stream->segment); gst_event_set_seqnum (seg_evt, demux->priv->segment_seqnum); gst_event_replace (&stream->pending_segment, seg_evt); - GST_DEBUG_OBJECT (stream->pad, "Pending segment now %" GST_SEGMENT_FORMAT, - &stream->pending_segment); + GST_DEBUG_OBJECT (stream->pad, "Pending segment now %" GST_PTR_FORMAT, + stream->pending_segment); gst_event_unref (seg_evt); /* Make sure the first buffer after a seek has the discont flag */ stream->discont = TRUE; -- cgit v1.2.3