aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue_print.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-15 02:23:36 +0100
committerMax Kellermann <max@duempel.org>2009-03-15 02:23:36 +0100
commit65cc280e1a0c9e9af6bf05a0e34f3bfe1840e6b1 (patch)
tree00cb38055947ba344a168e6a5599cd643d8417ce /src/queue_print.c
parentc8c392050069f9a6b922ccd8ea8a4c71dda4a2c8 (diff)
downloadmpd-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/queue_print.c')
0 files changed, 0 insertions, 0 deletions