summaryrefslogtreecommitdiffstats
path: root/ext/faac
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-01-12 03:40:18 +0000
committerDavid Schleef <ds@schleef.org>2004-01-12 03:40:18 +0000
commitd33b0d62aaf6fe0043d3d5b494935b60cd68c808 (patch)
treefb3e4f0727cc224919d3aff4983cb74a251d4e90 /ext/faac
parent60809db458162408f0effa28c5819800c78ed90d (diff)
downloadgst-plugins-bad-d33b0d62aaf6fe0043d3d5b494935b60cd68c808.tar.gz
gst-plugins-bad-d33b0d62aaf6fe0043d3d5b494935b60cd68c808.tar.bz2
gst-plugins-bad-d33b0d62aaf6fe0043d3d5b494935b60cd68c808.zip
Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
Original commit message from CVS: Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
Diffstat (limited to 'ext/faac')
-rw-r--r--ext/faac/gstfaac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index b5e4f9f6..182d094e 100644
--- a/ext/faac/gstfaac.c
+++ b/ext/faac/gstfaac.c
@@ -315,7 +315,7 @@ gst_faac_sinkconnect (GstPad *pad,
/* if the other side was already set-up, redo that */
if (GST_PAD_CAPS (faac->srcpad))
return gst_faac_srcconnect (faac->srcpad,
- gst_pad_get_caps (GST_PAD_PEER (faac->srcpad)));
+ gst_pad_get_allowed_caps (faac->srcpad));
/* else, that'll be done later */
return GST_PAD_LINK_OK;