mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue