summaryrefslogtreecommitdiff
path: root/ext/resindvd
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-11-04 15:21:50 +0000
committerJan Schmidt <thaytan@noraisin.net>2009-11-04 23:17:33 +0000
commit7d53c392378458575d48d6b3fc873df6153c9760 (patch)
tree5c07859f25f74a5cd03242c6dd1cdbd46ee57e1b /ext/resindvd
parent3d3d131b0f1fa53401202f9da05ea320c041952e (diff)
downloadgstreamer-plugins-bad-7d53c392378458575d48d6b3fc873df6153c9760.tar.gz
resindvd,autoconvert: Avoid depending on 0.10.26 API
Wait until after the next release to bump the core requirement. Until then, don't use gst_plugin_feature_list_copy and gst_pad_peer_get_caps_refed.
Diffstat (limited to 'ext/resindvd')
-rw-r--r--ext/resindvd/rsnbasesrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/resindvd/rsnbasesrc.c b/ext/resindvd/rsnbasesrc.c
index 965a5283c..20219f782 100644
--- a/ext/resindvd/rsnbasesrc.c
+++ b/ext/resindvd/rsnbasesrc.c
@@ -2352,7 +2352,7 @@ gst_base_src_default_negotiate (RsnBaseSrc * basesrc)
gboolean result = FALSE;
/* first see what is possible on our source pad */
- thiscaps = gst_pad_get_caps_refed (RSN_BASE_SRC_PAD (basesrc));
+ thiscaps = gst_pad_get_caps (RSN_BASE_SRC_PAD (basesrc));
GST_DEBUG_OBJECT (basesrc, "caps of src: %" GST_PTR_FORMAT, thiscaps);
/* nothing or anything is allowed, we're done */
if (thiscaps == NULL || gst_caps_is_any (thiscaps))
@@ -2362,7 +2362,7 @@ gst_base_src_default_negotiate (RsnBaseSrc * basesrc)
goto no_caps;
/* get the peer caps */
- peercaps = gst_pad_peer_get_caps_refed (RSN_BASE_SRC_PAD (basesrc));
+ peercaps = gst_pad_peer_get_caps (RSN_BASE_SRC_PAD (basesrc));
GST_DEBUG_OBJECT (basesrc, "caps of peer: %" GST_PTR_FORMAT, peercaps);
if (peercaps) {
GstCaps *icaps;