aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-06 20:14:38 +0100
committerMax Kellermann <max@duempel.org>2013-11-06 20:14:38 +0100
commitad27d06979311005560ee02a87595817f4ad2933 (patch)
treee704fda361171e6e2bb204aaa8d10be491d89766 /src
parentc4b1251d0a7fdf86e5ff64720ea1945f5dd6ef52 (diff)
downloadmpd-ad27d06979311005560ee02a87595817f4ad2933.tar.gz
mpd-ad27d06979311005560ee02a87595817f4ad2933.tar.xz
mpd-ad27d06979311005560ee02a87595817f4ad2933.zip
PlayerThread: enable buffering when starting playback
For some reason, this got lost in commit 975deca8. Re-enabling this fixes stuttering at the beginning of radio streams.
Diffstat (limited to 'src')
-rw-r--r--src/PlayerThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index 73a5a0527..e2e3ee3a4 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -131,7 +131,7 @@ public:
Player(PlayerControl &_pc, DecoderControl &_dc,
MusicBuffer &_buffer)
:pc(_pc), dc(_dc), buffer(_buffer),
- buffering(false),
+ buffering(true),
decoder_starting(false),
paused(false),
queued(true),