diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-05 08:33:28 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-05 08:33:28 +0200 |
commit | 9760c012f6286febadd5f7970f2b3a52e8294ebc (patch) | |
tree | 77befae8dd97a7fbd8232bb54225a14a1b95ddf7 | |
parent | 7558fd21eeb0bf7fcaaf78dcc9159c05780e0b56 (diff) | |
download | gstreamer-9760c012f6286febadd5f7970f2b3a52e8294ebc.tar.gz |
Revert "pad: Check via gst_pad_accept_caps() if a sinkpad accepts caps"
This reverts commit 7558fd21eeb0bf7fcaaf78dcc9159c05780e0b56.
Many elements, like ac3parse, depend on the broken behaviour and
stop working after this change.
-rw-r--r-- | gst/gstpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c index 4ea3140bae..e742c7caa4 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -2783,7 +2783,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 */ |