From d33b0d62aaf6fe0043d3d5b494935b60cd68c808 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 12 Jan 2004 03:40:18 +0000 Subject: 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(). --- ext/faac/gstfaac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/faac') 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; -- cgit v1.2.1