mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
baseparse: eat incoming caps event
... as it is typically up to baseclass to set proper src caps.
This commit is contained in:
parent
b3bf6cdfd8
commit
e3446a74e0
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue