diff options
author | Max Kellermann <max@duempel.org> | 2012-10-01 23:50:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-10-02 00:26:40 +0200 |
commit | adbe8c409a17b85ec10eb131fb81e3da9036dcef (patch) | |
tree | 202c2f33d5952fbb572e6da65f47c997e1d5c4c0 /src/encoder_plugin.h | |
parent | 58e600f408bed5cfdc9b3cebded108a8593e5b7b (diff) | |
download | mpd-adbe8c409a17b85ec10eb131fb81e3da9036dcef.tar.gz mpd-adbe8c409a17b85ec10eb131fb81e3da9036dcef.tar.xz mpd-adbe8c409a17b85ec10eb131fb81e3da9036dcef.zip |
output/{recorder,shout}: call encoder_read() in a loop
This is necessary for Ogg packets that span more than one page.
Diffstat (limited to 'src/encoder_plugin.h')
-rw-r--r-- | src/encoder_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encoder_plugin.h b/src/encoder_plugin.h index cae0c8048..3a42d79f4 100644 --- a/src/encoder_plugin.h +++ b/src/encoder_plugin.h @@ -295,6 +295,8 @@ encoder_write(struct encoder *encoder, const void *data, size_t length, /** * Reads encoded data from the encoder. * + * Call this repeatedly until no more data is returned. + * * @param encoder the encoder * @param dest the destination buffer to copy to * @param length the maximum length of the destination buffer |