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/jack/gstjack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/jack') diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c index 4a987ae1..a43c6707 100644 --- a/ext/jack/gstjack.c +++ b/ext/jack/gstjack.c @@ -392,7 +392,7 @@ gst_jack_change_state (GstElement *element) l = this->pads; while (l) { pad = GST_JACK_PAD (l); - caps = gst_pad_get_caps (pad->pad); + caps = gst_caps_copy (gst_pad_get_negotiated_caps (pad->pad)); gst_caps_set_simple (caps, "rate", G_TYPE_INT, (int)this->bin->rate, "buffer-frames", G_TYPE_INT, (gint)this->bin->nframes, -- cgit v1.2.1