Commit 6c5b8bcf authored by Max Kellermann's avatar Max Kellermann

decoder/Thread: log all errors

parent e425fe3f
...@@ -14,6 +14,7 @@ ver 0.20 (not yet released) ...@@ -14,6 +14,7 @@ ver 0.20 (not yet released)
- id3: remove the "id3v1_encoding" setting; by definition, all ID3v1 tags - id3: remove the "id3v1_encoding" setting; by definition, all ID3v1 tags
are ISO-Latin-1 are ISO-Latin-1
* decoder * decoder
- improved error logging
- ffmpeg: support ReplayGain and MixRamp - ffmpeg: support ReplayGain and MixRamp
- ffmpeg: support stream tags - ffmpeg: support stream tags
- gme: add option "accuracy" - gme: add option "accuracy"
......
...@@ -446,6 +446,10 @@ decoder_task(void *arg) ...@@ -446,6 +446,10 @@ decoder_task(void *arg)
dc.replay_gain_db = 0; dc.replay_gain_db = 0;
decoder_run(dc); decoder_run(dc);
if (dc.state == DecoderState::ERROR)
LogError(dc.error);
break; break;
case DecoderCommand::SEEK: case DecoderCommand::SEEK:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment