mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
Revert "pad: Check via gst_pad_accept_caps() if a sinkpad accepts caps"
This reverts commit 7558fd21ee
.
Many elements, like ac3parse, depend on the broken behaviour and
stop working after this change.
This commit is contained in:
parent
7558fd21ee
commit
9760c012f6
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue