diff options
author | Max Kellermann <max@duempel.org> | 2013-12-29 17:09:40 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-29 17:09:59 +0100 |
commit | ea9aff1d3f9f68eb5ae9e5f2bd67d283b8c0f47e (patch) | |
tree | 73c0e52b109aafb27cb6b96335168036d32dbc42 /src | |
parent | cecae419fb724b06820908ef8b9fd30fcfaa4032 (diff) | |
download | mpd-ea9aff1d3f9f68eb5ae9e5f2bd67d283b8c0f47e.tar.gz mpd-ea9aff1d3f9f68eb5ae9e5f2bd67d283b8c0f47e.tar.xz mpd-ea9aff1d3f9f68eb5ae9e5f2bd67d283b8c0f47e.zip |
TagFile: rewind the stream before trying the next plugin
Got lost in commit c97685fe
Diffstat (limited to 'src')
-rw-r--r-- | src/TagFile.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TagFile.cxx b/src/TagFile.cxx index dc0aa6b64..8d29d5ebe 100644 --- a/src/TagFile.cxx +++ b/src/TagFile.cxx @@ -67,7 +67,8 @@ public: IgnoreError()); if (is == nullptr) return false; - } + } else + is->LockRewind(IgnoreError()); /* now try the stream_tag() method */ return plugin.ScanStream(*is, handler, handler_ctx); |