summaryrefslogtreecommitdiff
path: root/src/playlist
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-14 21:21:14 +0100
committerMax Kellermann <max@musicpd.org>2017-11-14 21:21:14 +0100
commitf70b4e02c41732f8e6d78488bdb1eb6b325efa17 (patch)
treeda66e84a093e2e7682a5fb9f486114a630732914 /src/playlist
parent7d579e7400069d116628da38ff3026670fe53611 (diff)
parentc98bc4a2433b99baf11cf95a50b282de69346da6 (diff)
Merge branch 'v0.20.x'
Diffstat (limited to 'src/playlist')
-rw-r--r--src/playlist/PlaylistRegistry.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist/PlaylistRegistry.cxx b/src/playlist/PlaylistRegistry.cxx
index f230b8734..de143b412 100644
--- a/src/playlist/PlaylistRegistry.cxx
+++ b/src/playlist/PlaylistRegistry.cxx
@@ -195,7 +195,7 @@ playlist_list_open_stream_mime2(InputStreamPtr &&is, const char *mime)
/* rewind the stream, so each plugin gets a
fresh start */
try {
- is->Rewind();
+ is->LockRewind();
} catch (const std::runtime_error &) {
}
@@ -239,7 +239,7 @@ playlist_list_open_stream_suffix(InputStreamPtr &&is, const char *suffix)
/* rewind the stream, so each plugin gets a
fresh start */
try {
- is->Rewind();
+ is->LockRewind();
} catch (const std::runtime_error &) {
}