diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-11-05 13:53:46 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-11-05 13:53:46 +0100 |
commit | 5c30f3f9549e92c410d4ef213e651ad3501764fe (patch) | |
tree | 54c0d849255715e80b6702e0b49a52add47a6ebe | |
parent | 49ec4f796a0e3f88a851708782c853baf4b05724 (diff) |
Revert "inputselector: use get_caps_reffed()"
This reverts commit 49ec4f796a0e3f88a851708782c853baf4b05724.
We can't use this new function yet.
-rw-r--r-- | gst/selector/gstinputselector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/selector/gstinputselector.c b/gst/selector/gstinputselector.c index 693e9efed8..8d6a416462 100644 --- a/gst/selector/gstinputselector.c +++ b/gst/selector/gstinputselector.c @@ -456,7 +456,7 @@ gst_selector_pad_getcaps (GstPad * pad) sel = GST_INPUT_SELECTOR (gst_pad_get_parent (pad)); GST_DEBUG_OBJECT (sel, "Getting caps of srcpad peer"); - caps = gst_pad_peer_get_caps_reffed (sel->srcpad); + caps = gst_pad_peer_get_caps (sel->srcpad); if (caps == NULL) caps = gst_caps_new_any (); @@ -1192,7 +1192,7 @@ gst_input_selector_getcaps (GstPad * pad) GST_DEBUG_PAD_NAME (pad), GST_DEBUG_PAD_NAME (otherpad)); /* if the peer has caps, use those. If the pad is not linked, this function * returns NULL and we return ANY */ - if (!(caps = gst_pad_peer_get_caps_reffed (otherpad))) + if (!(caps = gst_pad_peer_get_caps (otherpad))) caps = gst_caps_new_any (); gst_object_unref (otherpad); } |