baseparse: forward stream-start event in push mode

This commit is contained in:
Arnaud Vrac 2012-11-16 19:41:48 +01:00 committed by Sebastian Dröge
parent 9301305cd6
commit 94185ec94a

View file

@ -1120,6 +1120,12 @@ gst_base_parse_sink_default (GstBaseParse * parse, GstEvent * event)
/* See if any bitrate tags were posted */ /* See if any bitrate tags were posted */
gst_base_parse_handle_tag (parse, event); gst_base_parse_handle_tag (parse, event);
break; break;
case GST_EVENT_STREAM_START:
if (parse->priv->pad_mode != GST_PAD_MODE_PULL)
forward_immediate = TRUE;
break;
default: default:
break; break;
} }