Commit bb051c14 authored by Sebastian Dröge's avatar Sebastian Dröge

vorbisenc: Resend (new, updated) headers when the caps are changing

The headers are usually changing together with the caps, and they are
nedeed for correct decoding.
parent 14f04c3b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment