From e3446a74e02fe1d77dc952d0a065ecfead04bf11 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Mon, 11 Jul 2011 11:40:08 +0200 Subject: [PATCH] baseparse: eat incoming caps event ... as it is typically up to baseclass to set proper src caps. --- libs/gst/base/gstbaseparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 6aa1db8084..da7e324981 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; }