summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorJun Xie <jun.xie@samsung.com>2017-12-20 15:01:16 +0800
committerSebastian Dröge <sebastian@centricular.com>2017-12-20 14:20:55 +0200
commit26cd1f108e2a1e250f38d6d900f321b545d598fd (patch)
treefa6ef4405a0f57c67aa725a1e25f543b397b5427 /gst-libs
parente19e02db930d4992e43a46152f555af038dd2f72 (diff)
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
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/adaptivedemux/gstadaptivedemux.c4
1 files 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;