summaryrefslogtreecommitdiff
path: root/src/decoder/DecoderThread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/DecoderThread.cxx')
-rw-r--r--src/decoder/DecoderThread.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder/DecoderThread.cxx b/src/decoder/DecoderThread.cxx
index 668860fbf..173ea788c 100644
--- a/src/decoder/DecoderThread.cxx
+++ b/src/decoder/DecoderThread.cxx
@@ -446,6 +446,10 @@ decoder_task(void *arg)
dc.replay_gain_db = 0;
decoder_run(dc);
+
+ if (dc.state == DecoderState::ERROR)
+ LogError(dc.error);
+
break;
case DecoderCommand::SEEK: