1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
mpv/misc
wm4 7ac622bc5f json: write NaN/Infinity float values as strings
JSON doesn't support these for some god-awful reason. (JSON would have
been so much better if it weren't based on JavaScript, the plague of
this world.)

We don't really care whether these specific values "round trip", so we
might as well write them in a standard-compliant way.

Untested. I was too lazy to even run this, but it probably works.

See #6691.
2019-10-25 00:30:04 +02:00
..
bstr.c vo_opengl: support loading custom user textures 2017-07-27 23:51:05 +02:00
bstr.h bstr: short-circuit bstr_equals on pointer equality 2017-08-03 21:48:25 +02:00
charset_conv.c osx: consistent normalisation when searching for external files 2017-02-02 16:21:04 +01:00
charset_conv.h osx: consistent normalisation when searching for external files 2017-02-02 16:21:04 +01:00
ctype.h Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
dispatch.c dispatch: add an assert() 2018-05-24 19:56:33 +02:00
dispatch.h player: remove in_dispatch field 2018-04-18 01:17:42 +03:00
json.c json: write NaN/Infinity float values as strings 2019-10-25 00:30:04 +02:00
json.h m_option: pretty print mpv_node for OSD 2017-10-30 15:32:24 +01:00
linked_list.h misc: add linked list helpers 2018-05-24 19:56:35 +02:00
natural_sort.c demux: sort filenames naturally when playing a directory / archive 2019-09-29 01:13:00 +03:00
natural_sort.h demux: sort filenames naturally when playing a directory / archive 2019-09-29 01:13:00 +03:00
node.c misc: move some helper code from client.c 2018-05-24 19:56:34 +02:00
node.h misc: move some helper code from client.c 2018-05-24 19:56:34 +02:00
rendezvous.c rendezvous: fix a typo 2018-08-31 11:40:33 +02:00
rendezvous.h Add Plan 9-style barriers 2014-07-26 20:29:48 +02:00
ring.c misc/ring: fix comment typo 2017-07-09 13:46:13 -07:00
ring.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
thread_pool.c thread_pool: add a helper function 2018-05-24 19:56:35 +02:00
thread_pool.h thread_pool: add a helper function 2018-05-24 19:56:35 +02:00
thread_tools.c player: some further cleanup of the mp_cancel crap 2018-05-24 19:56:35 +02:00
thread_tools.h player: some further cleanup of the mp_cancel crap 2018-05-24 19:56:35 +02:00