mpv/options
Dudemanguy 1df0a42a8c m_option: change m_option_type_aspect to double
This specific option type is only used for the video aspect. The
underlying type was a float to represent the inputted value, but it's
actually not precise enough. When using something like 4:3, the values
of the incorrect digits are actually significant enough to make av_d2q
return a very funky numerator and denominator which is close to 4/3 but
not quite. This leads to some "off by one pixel" errors. Weirdly, mpv's
actual calculations for this were already being done as double, but then
converted to floats for this specific type. Just drop the conversion
step and leave it all as double which has the precision we need (i.e.
AVRational is now 4/3 for the this case). Fixes #8190.
2023-08-09 13:51:28 +00:00
..
m_config.h options: split m_config.c/h 2020-03-13 16:50:27 +01:00
m_config_core.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
m_config_core.h options: more pushing code around 2020-03-13 16:50:27 +01:00
m_config_frontend.c options: log profile name if there is no restore data 2022-10-28 15:48:24 +00:00
m_config_frontend.h options: add watch-later-options 2021-07-21 13:19:28 +00:00
m_option.c m_option: change m_option_type_aspect to double 2023-08-09 13:51:28 +00:00
m_option.h m_option: change m_option_type_aspect to double 2023-08-09 13:51:28 +00:00
m_property.c options: change parameter that was forgottin in property transition 2023-02-27 11:21:49 +01:00
m_property.h options: change parameter that was forgottin in property transition 2023-02-27 11:21:49 +01:00
options.c options: restore old default sub selection behavior 2023-07-29 22:22:37 +02:00
options.h demux_playlist: add option to control recursive directory loading 2023-07-06 18:17:45 +00:00
parse_commandline.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
parse_commandline.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
parse_configfile.c options: read config file as stream 2023-04-29 22:34:54 +00:00
parse_configfile.h options: read config file as stream 2023-04-29 22:34:54 +00:00
path.c path: handle URLs consistently in mp_basename 2023-06-01 22:47:48 +02:00
path.h path: expand internal path selection API to allow for additional types 2023-05-09 20:37:17 +00:00