aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2013-11-09 16:21:15 +0100
committerSebastian Dröge <sebastian@centricular.com>2013-11-09 16:21:15 +0100
commit5445f362fd9ff2817de0772ef503db799a42fc62 (patch)
treed14c73373dd92e401f3acc37fb2c1c8747a868af /plugins
parent2f89c9b4e85dc40ca7b38ccc6fbd6298ad32e54a (diff)
Imported Upstream version 1.2.1upstream/1.2.1
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstvalve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/elements/gstvalve.c b/plugins/elements/gstvalve.c
index 54a9038..97e2a49 100644
--- a/plugins/elements/gstvalve.c
+++ b/plugins/elements/gstvalve.c
@@ -120,6 +120,7 @@ gst_valve_init (GstValve * valve)
GST_DEBUG_FUNCPTR (gst_valve_event));
gst_pad_set_query_function (valve->srcpad,
GST_DEBUG_FUNCPTR (gst_valve_query));
+ GST_PAD_SET_PROXY_CAPS (valve->srcpad);
gst_element_add_pad (GST_ELEMENT (valve), valve->srcpad);
valve->sinkpad = gst_pad_new_from_static_template (&sinktemplate, "sink");
@@ -130,6 +131,7 @@ gst_valve_init (GstValve * valve)
gst_pad_set_query_function (valve->sinkpad,
GST_DEBUG_FUNCPTR (gst_valve_query));
GST_PAD_SET_PROXY_CAPS (valve->sinkpad);
+ GST_PAD_SET_PROXY_ALLOCATION (valve->sinkpad);
gst_element_add_pad (GST_ELEMENT (valve), valve->sinkpad);
}