From 22ba786807cbc43db17e0c816accd548ba531f7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 9 Sep 2011 12:56:20 +0200 Subject: [PATCH] pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept the caps --- gst/gstpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4