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;