replace _get_caps_reffed with _get_caps

This commit is contained in:
Mark Nauwelaerts 2012-09-14 17:55:16 +02:00
parent a32398fee5
commit 3a7b7efe99

View file

@ -327,7 +327,7 @@ gst_osx_audio_sink_acceptcaps (GstPad * pad, GstCaps * caps)
GST_DEBUG_OBJECT (sink, "acceptcaps called with %s", caps_string);
g_free (caps_string);
pad_caps = gst_pad_get_caps_reffed (pad);
pad_caps = gst_pad_get_caps (pad);
if (pad_caps) {
gboolean cret = gst_caps_can_intersect (pad_caps, caps);
gst_caps_unref (pad_caps);