From 98a468a1013401298205390db43b63a6ff3a3478 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 4 Apr 2012 23:10:38 +0200 Subject: encoder/vorbis: generate end-of-stream packet before tag Don't reset the ogg_stream_state object, because this discards the end-of-stream packet that was just added. --- src/encoder/vorbis_encoder.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/encoder/vorbis_encoder.c b/src/encoder/vorbis_encoder.c index 38a998bd2..519d7cbf6 100644 --- a/src/encoder/vorbis_encoder.c +++ b/src/encoder/vorbis_encoder.c @@ -285,8 +285,6 @@ vorbis_encoder_pre_tag(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; } -- cgit v1.2.3