summaryrefslogtreecommitdiff
path: root/src/player/Thread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/player/Thread.cxx')
-rw-r--r--src/player/Thread.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx
index 53b6a032b..73b90d2a3 100644
--- a/src/player/Thread.cxx
+++ b/src/player/Thread.cxx
@@ -261,12 +261,8 @@ private:
bool SeekDecoder() noexcept;
void CancelPendingSeek() noexcept {
- if (!pc.seeking)
- return;
-
pending_seek = SongTime::zero();
- pc.seeking = false;
- pc.ClientSignal();
+ pc.CancelPendingSeek();
}
/**