From cd367198c0223d290d2f695a7ccdd3df7aab6159 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 8 Oct 2014 00:24:35 +0200 Subject: [PATCH] player: minor cosmetic change --- player/playloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/playloop.c b/player/playloop.c index c54554d049..b90c1a5a41 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -607,8 +607,8 @@ static void handle_pause_on_low_cache(struct MPContext *mpctx) double get_cache_buffering_percentage(struct MPContext *mpctx) { - struct demux_ctrl_reader_state s = {.idle = true, .ts_duration = -1}; if (mpctx->demuxer && mpctx->paused_for_cache && mpctx->cache_wait_time > 0) { + struct demux_ctrl_reader_state s = {.idle = true, .ts_duration = -1}; demux_control(mpctx->demuxer, DEMUXER_CTRL_GET_READER_STATE, &s); if (s.ts_duration < 0) s.ts_duration = 0;