mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept the caps
This commit is contained in:
parent
f0219b327d
commit
22ba786807
1 changed files with 1 additions and 1 deletions
|
@ -2612,7 +2612,7 @@ gst_pad_accept_caps (GstPad * pad, GstCaps * caps)
|
|||
}
|
||||
|
||||
#ifndef G_DISABLE_ASSERT
|
||||
{
|
||||
if (result) {
|
||||
GstCaps *padcaps;
|
||||
|
||||
padcaps = gst_pad_get_caps_reffed (pad);
|
||||
|
|
Loading…
Reference in a new issue