baseparse: eat incoming caps event

... as it is typically up to baseclass to set proper src caps.
This commit is contained in:
Mark Nauwelaerts 2011-07-11 11:40:08 +02:00
parent b3bf6cdfd8
commit e3446a74e0

View file

@ -923,6 +923,8 @@ gst_base_parse_sink_eventfunc (GstBaseParse * parse, GstEvent * event)
if (klass->set_sink_caps) if (klass->set_sink_caps)
klass->set_sink_caps (parse, caps); klass->set_sink_caps (parse, caps);
/* will send our own caps downstream */
gst_event_unref (event);
handled = TRUE; handled = TRUE;
break; break;
} }