From b4ee2a7763c7eb15d650f3175ccab6f84b1f08e7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 7 Dec 2002 14:32:21 +0000 Subject: [PATCH] Clear some more status variables Original commit message from CVS: Clear some more status variables --- common | 2 +- ext/mad/gstmad.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/common b/common index c73793f702..9d5642850b 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit c73793f7022cbc8ffd39f9c0b0587078f47c0b06 +Subproject commit 9d5642850b94f5bc21d565f8c900a0606fbb518f diff --git a/ext/mad/gstmad.c b/ext/mad/gstmad.c index 06dcaba011..05db5b514e 100644 --- a/ext/mad/gstmad.c +++ b/ext/mad/gstmad.c @@ -1217,6 +1217,11 @@ gst_mad_change_state (GstElement *element) mad->rate = 0; mad->channels = 0; mad->vbr_average = 0; + mad->base_time = 0; + mad->framestamp = 0; + mad->new_header = TRUE; + mad->framecount = 0; + mad->vbr_rate = 0; mad->frame.header.samplerate = 0; if (mad->ignore_crc) options |= MAD_OPTION_IGNORECRC; if (mad->half) options |= MAD_OPTION_HALFSAMPLERATE;