baseparse: reset passthrough mode to default (disabled) on activation
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 29 Oct 2009 15:05:00 +0000 (16:05 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:06:59 +0000 (18:06 +0100)
gst/aacparse/gstbaseparse.c

index f07c61b0503089d28ba13c130a7f8902c6351204..70fcd972da01096e2b1bd196894ad62c8ad90cb0 100644 (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);