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.
This commit is contained in:
parent
14f04c3b69
commit
bb051c14b3
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user