decoder/Thread: log all errors

This commit is contained in:
Max Kellermann
2015-12-31 13:38:27 +01:00
parent e425fe3f97
commit 6c5b8bcf9d
2 changed files with 5 additions and 0 deletions

View File

@@ -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: