aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/twolame_encoder.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-04-05 00:03:38 +0200
committerMax Kellermann <max@duempel.org>2012-04-05 00:21:53 +0200
commit5acee73fc85e44179120a5818247fc0760038cff (patch)
tree143a8f28c8537041f08ecd64a9d3bfba35a412f4 /src/encoder/twolame_encoder.c
parent466c337bcb71fb6bca0384300586e7213685d53d (diff)
downloadmpd-5acee73fc85e44179120a5818247fc0760038cff.tar.gz
mpd-5acee73fc85e44179120a5818247fc0760038cff.tar.xz
mpd-5acee73fc85e44179120a5818247fc0760038cff.zip
encoder/vorbis: generate end-of-stream packet when playback ends
Add the encoder_plugin method end(). This is important for the recorder plugin.
Diffstat (limited to '')
-rw-r--r--src/encoder/twolame_encoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/encoder/twolame_encoder.c b/src/encoder/twolame_encoder.c
index d20af551b..073c3128f 100644
--- a/src/encoder/twolame_encoder.c
+++ b/src/encoder/twolame_encoder.c
@@ -300,6 +300,7 @@ const struct encoder_plugin twolame_encoder_plugin = {
.finish = twolame_encoder_finish,
.open = twolame_encoder_open,
.close = twolame_encoder_close,
+ .end = twolame_encoder_flush,
.flush = twolame_encoder_flush,
.write = twolame_encoder_write,
.read = twolame_encoder_read,