aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index 11d96b35c..46349f53b 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -462,6 +462,9 @@ decoder_run(struct decoder_control *dc)
if (uri == NULL) {
dc->state = DECODE_STATE_ERROR;
+ dc->error = g_error_new(decoder_quark(), 0,
+ "Failed to map song");
+
decoder_command_finished_locked(dc);
return;
}