Original commit message from CVS:
- the result from the getcaps function should be sunken (gst_caps_sink)
instead of unreffed. Not sure that's the right thing to do...
peercaps = gst_pad_get_caps (peer);
newcaps = gst_caps_intersect (caps, peercaps);
gst_caps_unref (caps);
- gst_caps_unref (peercaps);
+ gst_caps_sink (peercaps);
caps = newcaps;
}
peercaps = gst_pad_get_caps (peer);
newcaps = gst_caps_intersect (caps, peercaps);
gst_caps_unref (caps);
- gst_caps_unref (peercaps);
+ gst_caps_sink (peercaps);
caps = newcaps;
}