mpv/common
Kacper Michajłow 8708f4dc91 m_property: add `>` for fixed precision floating-point expansion
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.
2024-03-21 03:50:11 +01:00
..
av_common.c
av_common.h
av_log.c common: stream: don't mention Libav in errors/warnings 2024-01-20 16:10:20 +00:00
av_log.h
codecs.c
codecs.h
common.c m_property: add `>` for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
common.h m_property: add `>` for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
encode.h options: remove a few options marked with .deprecation_message 2023-09-21 16:06:29 +00:00
encode_lavc.c encode_lavc: don't use deprecated `avcodec_close` 2024-02-19 18:09:58 +01:00
encode_lavc.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
global.h
meson.build build: restrict git describe to top level source directory 2023-11-27 15:22:22 +00:00
msg.c msg: clear buffered status_line on flush 2024-03-21 01:47:15 +01:00
msg.h
msg_control.h common: don't force terminal log buffer to small size 2024-01-27 10:04:16 +01:00
playlist.c input/player: add loadfile/loadlist insert-at command 2024-02-26 02:03:21 +00:00
playlist.h input/player: add loadfile/loadlist insert-at command 2024-02-26 02:03:21 +00:00
recorder.c recorder: fix a couple of memory leaks 2023-09-26 22:09:15 +00:00
recorder.h
stats.c mp_thread: add win32 implementation 2023-11-05 17:36:17 +00:00
stats.h mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
tags.c common/tags: add mp_tags_move_from_av_dictionary() 2023-10-18 16:52:47 +02:00
tags.h common/tags: add mp_tags_move_from_av_dictionary() 2023-10-18 16:52:47 +02:00
version.c version: move NO_BUILD_TIMESTAMPS check to version.h.in 2023-08-02 18:51:13 +00:00
version.h.in version.h.in: bump copyright year 2024-01-27 10:00:36 +01:00