diff options
Diffstat (limited to '')
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/encoder/vorbis_encoder.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -1,4 +1,6 @@ ver 0.15.17 (2011/??/??) +* encoder: + - vorbis: reset the Ogg stream after flush ver 0.15.16 (2011/03/13) diff --git a/src/encoder/vorbis_encoder.c b/src/encoder/vorbis_encoder.c index a5f6387f6..3fbbe5b61 100644 --- a/src/encoder/vorbis_encoder.c +++ b/src/encoder/vorbis_encoder.c @@ -274,6 +274,8 @@ vorbis_encoder_flush(struct encoder *_encoder, G_GNUC_UNUSED GError **error) vorbis_analysis_init(&encoder->vd, &encoder->vi); vorbis_block_init(&encoder->vd, &encoder->vb); + ogg_stream_reset(&encoder->os); + encoder->flush = true; return true; } |