summaryrefslogtreecommitdiff
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index 34573d7..b8d0719 100644
--- a/src/player.c
+++ b/src/player.c
@@ -242,6 +242,7 @@ void *BarPlayerThread (void *data) {
player->songPlayed = 0;
player->songDuration = av_q2d (st->time_base) * (double) st->duration;
+ player->mode = PLAYER_PLAYING;
while (av_read_frame (fctx, &pkt) >= 0) {
AVPacket pkt_orig = pkt;