mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
baseparse: also let caps events go through
This commit is contained in:
parent
165af7c903
commit
b7ea5ca1e0
1 changed files with 2 additions and 1 deletions
|
@ -883,7 +883,8 @@ gst_base_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
||||||
if (parse->priv->pending_segment && GST_EVENT_TYPE (event) != GST_EVENT_EOS
|
if (parse->priv->pending_segment && GST_EVENT_TYPE (event) != GST_EVENT_EOS
|
||||||
&& GST_EVENT_TYPE (event) != GST_EVENT_SEGMENT
|
&& GST_EVENT_TYPE (event) != GST_EVENT_SEGMENT
|
||||||
&& GST_EVENT_TYPE (event) != GST_EVENT_FLUSH_START
|
&& GST_EVENT_TYPE (event) != GST_EVENT_FLUSH_START
|
||||||
&& GST_EVENT_TYPE (event) != GST_EVENT_FLUSH_STOP) {
|
&& GST_EVENT_TYPE (event) != GST_EVENT_FLUSH_STOP
|
||||||
|
&& GST_EVENT_TYPE (event) != GST_EVENT_CAPS) {
|
||||||
|
|
||||||
if (GST_EVENT_TYPE (event) == GST_EVENT_TAG)
|
if (GST_EVENT_TYPE (event) == GST_EVENT_TAG)
|
||||||
/* See if any bitrate tags were posted */
|
/* See if any bitrate tags were posted */
|
||||||
|
|
Loading…
Reference in a new issue