From: Sebastian Dröge Date: Fri, 9 Sep 2011 10:56:20 +0000 (+0200) Subject: pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept... X-Git-Tag: RELEASE-0.10.36~161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22ba786807cbc43db17e0c816accd548ba531f7a;p=platform%2Fupstream%2Fgstreamer.git pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept the caps --- diff --git a/gst/gstpad.c b/gst/gstpad.c index 4c0b8e9..c501669 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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);