projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f04c3
)
vorbisenc: Resend (new, updated) headers when the caps are changing
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 27 Feb 2017 17:04:30 +0000
(19:04 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 27 Feb 2017 17:04:30 +0000
(19:04 +0200)
The headers are usually changing together with the caps, and they are
nedeed for correct decoding.
ext/vorbis/gstvorbisenc.c
patch
|
blob
|
history
diff --git
a/ext/vorbis/gstvorbisenc.c
b/ext/vorbis/gstvorbisenc.c
index
3890fd2
..
5b90d89
100644
(file)
--- 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;