From 30b8d8a4be9987f55d3077fd8dbd5db6f2b5d62e Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 6 Aug 2014 12:07:09 -0300 Subject: [PATCH] asfdemux: simplify log statement Use the GST_PTR_FORMAT to print the buffer --- gst/asfdemux/gstasfdemux.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index 52d849dea2..a6432fcdde 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -1703,11 +1703,8 @@ gst_asf_demux_push_complete_payloads (GstASFDemux * demux, gboolean force) /* FIXME: we should really set durations on buffers if we can */ - GST_LOG_OBJECT (stream->pad, "pushing buffer, ts=%" GST_TIME_FORMAT - ", dur=%" GST_TIME_FORMAT " size=%" G_GSIZE_FORMAT, - GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (payload->buf)), - GST_TIME_ARGS (GST_BUFFER_DURATION (payload->buf)), - gst_buffer_get_size (payload->buf)); + GST_LOG_OBJECT (stream->pad, "pushing buffer, %" GST_PTR_FORMAT, + payload->buf); if (stream->active) { ret = gst_pad_push (stream->pad, payload->buf);