summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-18 01:21:21 +0200
committerwm4 <wm4@nowhere>2014-08-18 01:21:21 +0200
commiteb2924054ff0c30fa7f414dfdc883c0afb25862e (patch)
tree1b81fc519141d8f518cc933fdbdf5b90655008da /player/playloop.c
parent0cee4498f12a3db053a08e3ffc084042a904a141 (diff)
downloadmpv-eb2924054ff0c30fa7f414dfdc883c0afb25862e.tar.bz2
mpv-eb2924054ff0c30fa7f414dfdc883c0afb25862e.tar.xz
player: remove unneeded call
print_status() is called at a later point anyway (and before sleeping), so this code has little effect. This code was added in commit a4f7a3df5, and I can't observe any problems with idle mode anymore. Now print_status() is called from a single place only, within osd.c.
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 2ea6c62665..5b4c7c7fab 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -71,10 +71,6 @@ void pause_player(struct MPContext *mpctx)
if (mpctx->video_out)
vo_set_paused(mpctx->video_out, true);
- // Only print status if there's actually a file being played.
- if (mpctx->num_sources)
- print_status(mpctx);
-
end:
mp_notify(mpctx, mpctx->opts->pause ? MPV_EVENT_PAUSE : MPV_EVENT_UNPAUSE, 0);
}