diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2013-10-10 23:12:27 -0400 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 15:45:11 +0200 |
commit | fc9014f7ecb486288b8f7d0d376f68b27f60dd6f (patch) | |
tree | 2c7505751979fee0c4dc698af77386622b9f23a1 /src/EncoderPlugin.hxx | |
parent | b39ab76118067fe6e7cb83afb176dcef4c936d3d (diff) | |
download | mpd-fc9014f7ecb486288b8f7d0d376f68b27f60dd6f.tar.gz mpd-fc9014f7ecb486288b8f7d0d376f68b27f60dd6f.tar.xz mpd-fc9014f7ecb486288b8f7d0d376f68b27f60dd6f.zip |
PlayerThread: Only drop 0 length packets without tags
Fixes a regression from 752dfb3d95482c562e5d24c6ea839c4815de9a6d which
caused the current chunk to be flushed as soon as new replaygain
information was found. If this occurs on a tag chunk, it has no data
(length 0) and is then skipped before pushing it to all of the outputs.
This change allows 0-length chunks through if they contain a tag and
they are now appearing in mplayer and mpv properly.
Diffstat (limited to 'src/EncoderPlugin.hxx')
0 files changed, 0 insertions, 0 deletions