From: Mark Nauwelaerts Date: Mon, 11 Jul 2011 09:40:08 +0000 (+0200) Subject: baseparse: eat incoming caps event X-Git-Tag: RELEASE-0.11.0~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3446a74e02fe1d77dc952d0a065ecfead04bf11;p=platform%2Fupstream%2Fgstreamer.git baseparse: eat incoming caps event ... as it is typically up to baseclass to set proper src caps. --- diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 6aa1db8..da7e324 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -923,6 +923,8 @@ gst_base_parse_sink_eventfunc (GstBaseParse * parse, GstEvent * event) if (klass->set_sink_caps) klass->set_sink_caps (parse, caps); + /* will send our own caps downstream */ + gst_event_unref (event); handled = TRUE; break; }