diff --git a/gst/gstutils.c b/gst/gstutils.c index dc9b7933f6..d212f0f304 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -2635,7 +2635,7 @@ intersect_caps_func (GstPad * pad, GValue * ret, GstPad * orig) existing = g_value_get_pointer (ret); peercaps = gst_pad_peer_get_caps (pad); - if (G_UNLIKELY (peercaps)) { + if (G_LIKELY (peercaps)) { g_value_set_pointer (ret, gst_caps_intersect (existing, peercaps)); gst_caps_unref (existing); gst_caps_unref (peercaps);