aboutsummaryrefslogtreecommitdiffstats
path: root/src/player
diff options
context:
space:
mode:
Diffstat (limited to 'src/player')
-rw-r--r--src/player/Thread.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx
index 9a5732ada..20ffcb069 100644
--- a/src/player/Thread.cxx
+++ b/src/player/Thread.cxx
@@ -605,8 +605,10 @@ Player::SeekDecoder()
where = total_time;
}
- if (!dc.Seek(where + start_time)) {
+ Error error;
+ if (!dc.Seek(where + start_time, error)) {
/* decoder failure */
+ pc.SetError(PlayerError::DECODER, std::move(error));
pc.LockCommandFinished();
return false;
}