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
(from parent 1:
79b5e89
)
pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Thu, 8 Sep 2011 11:41:19 +0000
(13:41 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Thu, 8 Sep 2011 11:42:53 +0000
(13:42 +0200)
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
4c0b8e9
..
eaeddea
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_
caps_can_intersect (caps, gst_pad_get_pad_template_caps (pad)
))
+ if (!gst_
pad_accept_caps (pad, caps
))
goto not_accepted;
/* set caps on pad if call succeeds */