projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2631e
)
Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps...
author
David Schleef
<ds@schleef.org>
Mon, 12 Jan 2004 03:40:18 +0000
(
03:40
+0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sun, 2 Jan 2011 14:30:04 +0000
(14:30 +0000)
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
patch
|
blob
|
history
diff --git
a/ext/jack/gstjack.c
b/ext/jack/gstjack.c
index
4a987ae
..
a43c670
100644
(file)
--- 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,