GstPad *pad = GST_PAD_CAST (pads->data);
GstCaps *caps;
- caps = gst_pad_get_caps_refed (pad);
+ caps = gst_pad_get_caps_reffed (pad);
analyze_new_pad (dbin, element, pad, caps, chain);
if (caps)
gst_caps_unref (caps);
GST_DEBUG_OBJECT (pad, "pad added, chain:%p", chain);
- caps = gst_pad_get_caps_refed (pad);
+ caps = gst_pad_get_caps_reffed (pad);
analyze_new_pad (dbin, element, pad, caps, chain);
if (caps)
gst_caps_unref (caps);
GstStructure *sa, *sb;
const gchar *namea, *nameb;
- capsa = gst_pad_get_caps_refed (GST_PAD (da));
- capsb = gst_pad_get_caps_refed (GST_PAD (db));
+ capsa = gst_pad_get_caps_reffed (GST_PAD (da));
+ capsb = gst_pad_get_caps_reffed (GST_PAD (db));
sa = gst_caps_get_structure ((const GstCaps *) capsa, 0);
sb = gst_caps_get_structure ((const GstCaps *) capsb, 0);
/* Caps that resulted in this chain */
caps = gst_pad_get_negotiated_caps (chain->pad);
if (!caps) {
- caps = gst_pad_get_caps_refed (chain->pad);
+ caps = gst_pad_get_caps_reffed (chain->pad);
if (G_UNLIKELY (!gst_caps_is_fixed (caps))) {
GST_ERROR_OBJECT (chain->pad,
"Couldn't get fixed caps, got %" GST_PTR_FORMAT, caps);