diff options
author | wm4 <wm4@nowhere> | 2014-08-18 01:21:21 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-18 01:21:21 +0200 |
commit | eb2924054ff0c30fa7f414dfdc883c0afb25862e (patch) | |
tree | 1b81fc519141d8f518cc933fdbdf5b90655008da /player/osd.c | |
parent | 0cee4498f12a3db053a08e3ffc084042a904a141 (diff) | |
download | mpv-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/osd.c')
-rw-r--r-- | player/osd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/osd.c b/player/osd.c index 6fba20468e..094e99e5b6 100644 --- a/player/osd.c +++ b/player/osd.c @@ -146,7 +146,7 @@ static void add_term_osd_bar(struct MPContext *mpctx, char **line, int width) saddf(line, "%.*s", BSTR_P(parts[4])); } -void print_status(struct MPContext *mpctx) +static void print_status(struct MPContext *mpctx) { struct MPOpts *opts = mpctx->opts; |