diff options
author | Max Kellermann <max@duempel.org> | 2009-03-15 02:23:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-15 02:23:36 +0100 |
commit | 65cc280e1a0c9e9af6bf05a0e34f3bfe1840e6b1 (patch) | |
tree | 00cb38055947ba344a168e6a5599cd643d8417ce /src/pcm_volume.h | |
parent | c8c392050069f9a6b922ccd8ea8a4c71dda4a2c8 (diff) | |
download | mpd-65cc280e1a0c9e9af6bf05a0e34f3bfe1840e6b1.tar.gz mpd-65cc280e1a0c9e9af6bf05a0e34f3bfe1840e6b1.tar.xz mpd-65cc280e1a0c9e9af6bf05a0e34f3bfe1840e6b1.zip |
vorbis_encoder: fill the ogg_page in the read() method
Add the "flush" flag, and defer the ogg_stream_flush() call. Call
ogg_stream_pageout() or ogg_stream_flush() (depending on the "flush"
flag) in vorbis_encoder_read(). This prevents the ogg_page from
getting overwritten by consecutive ogg_stream_pageout() calls.
Diffstat (limited to 'src/pcm_volume.h')
0 files changed, 0 insertions, 0 deletions