encoder_plugin: add method pre_tag()

In the "vorbis" plugin, this is a copy of the old flush() method,
while flush() gets a lot of code remove, it just sets the "flush" flag
and nothing else.  It doesn't start a new stream now, which should fix
a few problems in some players.
This commit is contained in:
Max Kellermann
2011-07-20 20:54:34 +02:00
parent 13539961b2
commit 838f7cd210
5 changed files with 39 additions and 2 deletions

2
NEWS
View File

@@ -6,6 +6,8 @@ ver 0.16.4 (2011/??/??)
- ffmpeg: workaround for semantic API change in recent ffmpeg versions
- flac: validate the sample rate when scanning the tag
- wavpack: obey all decoder commands, stop at CUE track border
* encoder:
- vorbis: don't send end-of-stream on flush
* output:
- alsa: fix SIGFPE when alsa announces a period size of 0