diff --git a/ext/vorbis/gstvorbisenc.c b/ext/vorbis/gstvorbisenc.c index 3890fd2d23..5b90d8986a 100644 --- a/ext/vorbis/gstvorbisenc.c +++ b/ext/vorbis/gstvorbisenc.c @@ -306,6 +306,7 @@ gst_vorbis_enc_set_format (GstAudioEncoder * enc, GstAudioInfo * info) vorbisenc->frequency = GST_AUDIO_INFO_RATE (info); /* if re-configured, we were drained and cleared already */ + vorbisenc->header_sent = FALSE; if (!gst_vorbis_enc_setup (vorbisenc)) return FALSE;