gst/: Printf format fixes (#476128).
authorPeter Kjellerstedt <pkj@axis.com>
Wed, 12 Sep 2007 08:38:21 +0000 (08:38 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 12 Sep 2007 08:38:21 +0000 (08:38 +0000)
Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/app/gstappsink.c:
* gst/flv/gstflvdemux.c:
* gst/flv/gstflvparse.c:
* gst/interleave/deinterleave.c:
* gst/switch/gstswitch.c:
Printf format fixes (#476128).

gst-libs/gst/app/gstappsink.c

index b4c65af..eaf832f 100644 (file)
@@ -270,7 +270,7 @@ gst_app_sink_get_caps (GstBaseSink * psink)
   GST_OBJECT_LOCK (appsink);
   if ((caps = appsink->caps))
     gst_caps_ref (caps);
-  GST_DEBUG_OBJECT (appsink, "got caps " GST_PTR_FORMAT, caps);
+  GST_DEBUG_OBJECT (appsink, "got caps %" GST_PTR_FORMAT, caps);
   GST_OBJECT_UNLOCK (appsink);
 
   return caps;
@@ -295,7 +295,7 @@ gst_app_sink_set_caps (GstAppSink * appsink, GstCaps * caps)
   g_return_if_fail (GST_IS_APP_SINK (appsink));
 
   GST_OBJECT_LOCK (appsink);
-  GST_DEBUG_OBJECT (appsink, "setting caps to " GST_PTR_FORMAT, caps);
+  GST_DEBUG_OBJECT (appsink, "setting caps to %" GST_PTR_FORMAT, caps);
   gst_caps_replace (&appsink->caps, caps);
   GST_OBJECT_UNLOCK (appsink);
 }