mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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().
This commit is contained in:
parent
9d2631e7d6
commit
d952e72d42
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue