Commit 98a468a1 authored by Max Kellermann's avatar Max Kellermann

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.
parent 47c58c01
......@@ -3,6 +3,8 @@ ver 0.16.8 (2012/??/??)
* decoder:
- vorbis (and others): fix seeking at startup
- ffmpeg: read the "year" tag
* encoder:
- vorbis: generate end-of-stream packet before tag
* output:
- jack: check for connection failure before starting playback
- jack: workaround for libjack1 crash bug
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment