summaryrefslogtreecommitdiffstats
path: root/core/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-10 17:14:20 +0200
committerwm4 <wm4@nowhere>2013-04-10 17:14:20 +0200
commit10d9d2a1fa4eb1579f0dd3943d6fc09bbea06302 (patch)
treef1c4a53d0e5c5908fe504baa1a36a632bd96f421 /core/mplayer.c
parentf8d32b03bfa8ad733da7ae824a580b3474c1be58 (diff)
downloadmpv-10d9d2a1fa4eb1579f0dd3943d6fc09bbea06302.tar.bz2
mpv-10d9d2a1fa4eb1579f0dd3943d6fc09bbea06302.tar.xz
mplayer: don't print bogus status when caching
When streaming from http, this could print a status line indicating paused playback instead of "buffering" sometimes.
Diffstat (limited to 'core/mplayer.c')
-rw-r--r--core/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 6dffc4c010..216103e95f 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -3133,8 +3133,8 @@ static void handle_pause_on_low_cache(struct MPContext *mpctx)
unpause_player(mpctx);
} else if (!mpctx->paused) {
if (cache >= 0 && cache <= opts->stream_cache_pause && !idle) {
- pause_player(mpctx);
mpctx->paused_for_cache = true;
+ pause_player(mpctx);
}
}
}