diff options
author | Max Kellermann <max@duempel.org> | 2012-04-05 00:03:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-04-05 00:21:53 +0200 |
commit | 5acee73fc85e44179120a5818247fc0760038cff (patch) | |
tree | 143a8f28c8537041f08ecd64a9d3bfba35a412f4 /src/encoder/vorbis_encoder.c | |
parent | 466c337bcb71fb6bca0384300586e7213685d53d (diff) | |
download | mpd-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/vorbis_encoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/encoder/vorbis_encoder.c b/src/encoder/vorbis_encoder.c index 519d7cbf6..9f09b2ac7 100644 --- a/src/encoder/vorbis_encoder.c +++ b/src/encoder/vorbis_encoder.c @@ -405,6 +405,7 @@ const struct encoder_plugin vorbis_encoder_plugin = { .finish = vorbis_encoder_finish, .open = vorbis_encoder_open, .close = vorbis_encoder_close, + .end = vorbis_encoder_pre_tag, .flush = vorbis_encoder_flush, .pre_tag = vorbis_encoder_pre_tag, .tag = vorbis_encoder_tag, |