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:
d3cad28
)
Revert "pad: Use gst_pad_accept_caps() instead of manually checking when configuring...
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Thu, 8 Sep 2011 12:29:00 +0000
(14:29 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Thu, 8 Sep 2011 12:29:00 +0000
(14:29 +0200)
This reverts commit
d3cad28da936b037d877dc70c02286b81b680284
.
It causes performance problems because acceptcaps() propagates downstream.
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
eaeddea
..
4c0b8e9
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-2781,7
+2781,7
@@
gst_pad_configure_sink (GstPad * pad, GstCaps * caps)
gboolean res;
/* See if pad accepts the caps */
- if (!gst_
pad_accept_caps (pad, caps
))
+ if (!gst_
caps_can_intersect (caps, gst_pad_get_pad_template_caps (pad)
))
goto not_accepted;
/* set caps on pad if call succeeds */