diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-03-07 16:20:26 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-03-07 16:20:26 +0100 |
commit | 310900e4be52d11388792d776d9f6b89380bbecd (patch) | |
tree | d4dc1b3d91043b0e8afd73cb9459ba0288d608da /src/main.c | |
parent | 1cd5c5ec77ea43088982a439b58499be87c62087 (diff) | |
download | pianobar-310900e4be52d11388792d776d9f6b89380bbecd.tar.gz pianobar-310900e4be52d11388792d776d9f6b89380bbecd.tar.bz2 pianobar-310900e4be52d11388792d776d9f6b89380bbecd.zip |
player: Ignore volume change before playback started
Fixes issue #508.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -292,7 +292,7 @@ static void BarMainStartPlayback (BarApp_t *app, pthread_t *playerThread) { /* prevent race condition, mode must _not_ be DEAD if * thread has been started */ - app->player.mode = PLAYER_STARTING; + app->player.mode = PLAYER_WAITING; /* start player */ pthread_create (playerThread, NULL, BarPlayerThread, &app->player); |