asfdemux: simplify log statement
authorThiago Santos <thiagoss@osg.samsung.com>
Wed, 6 Aug 2014 15:07:09 +0000 (12:07 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 8 Aug 2014 19:48:37 +0000 (16:48 -0300)
Use the GST_PTR_FORMAT to print the buffer

gst/asfdemux/gstasfdemux.c

index 52d849d..a6432fc 100644 (file)
@@ -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);