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 4d637e7549
commit 4a2a3a60f4

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);