mirror of https://github.com/mpv-player/mpv
osd: reference local pointer to mpctx->opts
For brevity, since it's already there. Result should be identical.
This commit is contained in:
parent
a5f53da229
commit
48fa7da865
|
@ -197,9 +197,9 @@ static void term_osd_print_status_lazy(struct MPContext *mpctx)
|
||||||
saddf(&line, ": ");
|
saddf(&line, ": ");
|
||||||
|
|
||||||
// Playback position
|
// Playback position
|
||||||
sadd_hhmmssff(&line, get_playback_time(mpctx), mpctx->opts->osd_fractions);
|
sadd_hhmmssff(&line, get_playback_time(mpctx), opts->osd_fractions);
|
||||||
saddf(&line, " / ");
|
saddf(&line, " / ");
|
||||||
sadd_hhmmssff(&line, get_time_length(mpctx), mpctx->opts->osd_fractions);
|
sadd_hhmmssff(&line, get_time_length(mpctx), opts->osd_fractions);
|
||||||
|
|
||||||
sadd_percentage(&line, get_percent_pos(mpctx));
|
sadd_percentage(&line, get_percent_pos(mpctx));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue