caps = gst_caps_new_empty ();
- /* create a caps for all wave formats supported by the device
+ /* create a caps for all wave formats supported by the device
starting by the best quality format */
if (wocaps.dwFormats & WAVE_FORMAT_96S16) {
caps_temp = gst_waveform_sink_create_caps (96000, 2, GST_AUDIO_NE (S16));
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;
}