diff options
author | wm4 <wm4@nowhere> | 2014-10-08 00:24:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-08 00:24:35 +0200 |
commit | cd367198c0223d290d2f695a7ccdd3df7aab6159 (patch) | |
tree | 9afb697ad344de3d44ed7634bbe9db367268ff13 /player/playloop.c | |
parent | f47269a074333272c82e30104818771c4aab1a46 (diff) | |
download | mpv-cd367198c0223d290d2f695a7ccdd3df7aab6159.tar.bz2 mpv-cd367198c0223d290d2f695a7ccdd3df7aab6159.tar.xz |
player: minor cosmetic change
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |