pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept the caps

This commit is contained in:
Sebastian Dröge 2011-09-09 12:56:20 +02:00
parent f0219b327d
commit 22ba786807

View file

@ -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);