mirror of https://github.com/mpv-player/mpv
8708f4dc91
This enhancement makes it easier to create constant width property expansions, useful for the `--term-status-msg`. Additionally, it changes to `%f` printing with manual zero trimming, which is easier to control than `%g`. With this method, we can directly specify precision, not just significant numbers. This approach also avoids overly high precision for values less than 1, which is not necessary for a generic floating-point print function. A new print helper function is added, which can be used with adjusted precision for specific cases where a different default is needed. This also unifies the code slightly. |
||
---|---|---|
.. | ||
av_common.c | ||
av_common.h | ||
av_log.c | ||
av_log.h | ||
codecs.c | ||
codecs.h | ||
common.c | ||
common.h | ||
encode.h | ||
encode_lavc.c | ||
encode_lavc.h | ||
global.h | ||
meson.build | ||
msg.c | ||
msg.h | ||
msg_control.h | ||
playlist.c | ||
playlist.h | ||
recorder.c | ||
recorder.h | ||
stats.c | ||
stats.h | ||
tags.c | ||
tags.h | ||
version.c | ||
version.h.in |