replace _get_caps_reffed with _get_caps

This commit is contained in:
Mark Nauwelaerts 2012-09-14 17:55:05 +02:00
parent 578861abea
commit 5431286b2a
2 changed files with 3 additions and 3 deletions

View file

@ -230,7 +230,7 @@ gst_jp2k_decimator_getcaps (GstPad * pad)
otherpad = (pad == self->srcpad) ? self->sinkpad : self->srcpad;
tmp = gst_pad_peer_get_caps_reffed (otherpad);
tmp = gst_pad_peer_get_caps (otherpad);
if (tmp) {
ret = gst_caps_intersect (tmp, gst_pad_get_pad_template_caps (pad));
gst_caps_unref (tmp);

View file

@ -805,7 +805,7 @@ gst_decklink_src_audio_src_setcaps (GstPad * pad, GstCaps * caps)
decklinksrc = GST_DECKLINK_SRC (gst_pad_get_parent (pad));
pad_caps = gst_pad_get_caps_reffed (pad);
pad_caps = gst_pad_get_caps (pad);
can_intersect = gst_caps_can_intersect (pad_caps, caps);
gst_caps_unref (pad_caps);
@ -825,7 +825,7 @@ gst_decklink_src_audio_src_acceptcaps (GstPad * pad, GstCaps * caps)
decklinksrc = GST_DECKLINK_SRC (gst_pad_get_parent (pad));
pad_caps = gst_pad_get_caps_reffed (pad);
pad_caps = gst_pad_get_caps (pad);
can_intersect = gst_caps_can_intersect (pad_caps, caps);
gst_caps_unref (pad_caps);