waveformsink: Fix Memory leak using GST_PTR_FORMAT

https://bugzilla.gnome.org/show_bug.cgi?id=772497
This commit is contained in:
Gaurav Gupta 2016-10-07 13:04:27 +05:30 committed by Sebastian Dröge
parent 4306cb6f79
commit 1950b72e2b

View file

@ -322,8 +322,8 @@ gst_waveform_sink_getcaps (GstBaseSink * bsink, GstCaps * filter)
wfsink->cached_caps = gst_caps_ref (caps);
}
GST_CAT_LOG_OBJECT (waveformsink_debug, wfsink, "Returning caps %s",
gst_caps_to_string (caps));
GST_CAT_LOG_OBJECT (waveformsink_debug, wfsink,
"Returning caps %" GST_PTR_FORMAT, caps);
return caps;
}