diff --git a/ChangeLog b/ChangeLog index c5777bc97e..eab5369f40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-23 Wim Taymans + + * gst/goom/gstgoom.c: (gst_goom_src_negotiate): + Fix double caps unref when negotiation fails. + 2006-06-22 Tim-Philipp Müller * ext/annodex/gstcmmldec.c: diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index f728ada1ca..2633431691 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -264,6 +264,8 @@ gst_goom_src_negotiate (GstGoom * goom) templ = gst_pad_get_pad_template_caps (goom->srcpad); + GST_DEBUG_OBJECT (goom, "performing negotiation"); + /* see what the peer can do */ othercaps = gst_pad_peer_get_caps (goom->srcpad); if (othercaps) { @@ -292,7 +294,6 @@ gst_goom_src_negotiate (GstGoom * goom) no_format: { gst_caps_unref (intersect); - gst_caps_unref (othercaps); return FALSE; } }