baseparse: reset passthrough mode to default (disabled) on activation

This commit is contained in:
Mark Nauwelaerts 2009-10-29 16:05:00 +01:00 committed by Tim-Philipp Müller
parent a9de98830a
commit 1dd6b12316

View file

@ -1445,6 +1445,7 @@ gst_base_parse_activate (GstBaseParse * parse, gboolean active)
parse->priv->framecount = 0;
parse->priv->bytecount = 0;
parse->priv->next_ts = 0;
parse->priv->passthrough = FALSE;
if (parse->pending_segment)
gst_event_unref (parse->pending_segment);