diff options
author | Max Kellermann <max@duempel.org> | 2011-07-20 20:54:34 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-07-20 20:54:34 +0200 |
commit | 838f7cd210dbd3f071d48d54c168c123c3d20c58 (patch) | |
tree | 7ded7d68cbd7130b542094f08b50c4e10972a075 /src/output/shout_plugin.c | |
parent | 13539961b25940ca6d28c28ab7972c244681e3b5 (diff) | |
download | mpd-838f7cd210dbd3f071d48d54c168c123c3d20c58.tar.gz mpd-838f7cd210dbd3f071d48d54c168c123c3d20c58.tar.xz mpd-838f7cd210dbd3f071d48d54c168c123c3d20c58.zip |
encoder_plugin: add method pre_tag()
In the "vorbis" plugin, this is a copy of the old flush() method,
while flush() gets a lot of code remove, it just sets the "flush" flag
and nothing else. It doesn't start a new stream now, which should fix
a few problems in some players.
Diffstat (limited to '')
-rw-r--r-- | src/output/shout_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c index 5e1ef762a..35efd9fc7 100644 --- a/src/output/shout_plugin.c +++ b/src/output/shout_plugin.c @@ -511,7 +511,7 @@ static void my_shout_set_tag(void *data, if (sd->encoder->plugin->tag != NULL) { /* encoder plugin supports stream tags */ - ret = encoder_flush(sd->encoder, &error); + ret = encoder_pre_tag(sd->encoder, &error); if (!ret) { g_warning("%s", error->message); g_error_free(error); |