aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_thread.c')
-rw-r--r--src/player_thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 102401d6d..a19e1db8e 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -238,7 +238,7 @@ player_wait_for_decoder(struct player *player)
if (decoder_lock_has_failed(dc)) {
player_lock(pc);
pc->errored_song = dc->song;
- pc->error = PLAYER_ERROR_DECODER;
+ pc->error_type = PLAYER_ERROR_DECODER;
pc->next_song = NULL;
player_unlock(pc);
@@ -322,7 +322,7 @@ player_open_output(struct player *player)
player->paused = true;
player_lock(pc);
- pc->error = PLAYER_ERROR_OUTPUT;
+ pc->error_type = PLAYER_ERROR_OUTPUT;
pc->state = PLAYER_STATE_PAUSE;
player_unlock(pc);
@@ -353,7 +353,7 @@ player_check_decoder_startup(struct player *player)
player_lock(pc);
pc->errored_song = dc->song;
- pc->error = PLAYER_ERROR_DECODER;
+ pc->error_type = PLAYER_ERROR_DECODER;
player_unlock(pc);
return false;
@@ -789,7 +789,7 @@ play_next_chunk(struct player *player)
player_lock(pc);
- pc->error = PLAYER_ERROR_OUTPUT;
+ pc->error_type = PLAYER_ERROR_OUTPUT;
/* pause: the user may resume playback as soon as an
audio output becomes available */