projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b4180e
)
Fixes bug where median doesnt trigger capsnego
author
Ronald S. Bultje
<rbultje@ronald.bitfreak.net>
Mon, 9 Sep 2002 17:42:05 +0000
(17:42 +0000)
committer
Ronald S. Bultje
<rbultje@ronald.bitfreak.net>
Mon, 9 Sep 2002 17:42:05 +0000
(17:42 +0000)
Original commit message from CVS:
Fixes bug where median doesnt trigger capsnego
gst/median/gstmedian.c
patch
|
blob
|
history
diff --git
a/gst/median/gstmedian.c
b/gst/median/gstmedian.c
index
bec2768
..
2e8710a
100644
(file)
--- a/
gst/median/gstmedian.c
+++ b/
gst/median/gstmedian.c
@@
-137,6
+137,10
@@
gst_median_sinkconnect (GstPad *pad, GstCaps *caps)
gst_caps_get_int (caps, "width", &filter->width);
gst_caps_get_int (caps, "height", &filter->height);
+ /* forward to the next plugin */
+ if (!gst_pad_try_set_caps(filter->srcpad, gst_caps_copy_1(caps)))
+ return GST_PAD_CONNECT_REFUSED;
+
return GST_PAD_CONNECT_OK;
}