1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00
mpv/common
wm4 d27a2bc546 build: allow compilation without any atomics
Not all compilers on all platforms have atomics available (even if they
could, technically speaking).

We don't use atomics that much, only the following things rely on it:
1. the audio pull code, and all audio outputs using it
2. updating global msg levels
3. reading log messages through the client API

Just disable 1. and 3. if atomics are not available. For 2., using fake-
atomics isn't too bad; at worst, message levels won't properly update
under certain situations (but most likely, it will work just fine).

This means if atomics are not available, the client API function
mpv_request_log_messages() will do nothing.

CC: @mpv-player/stable
2014-07-05 17:07:16 +02:00
..
av_common.c av_common: remove unneeded field 2014-06-29 20:39:32 +02:00
av_common.h Factor out setting AVCodecContext extradata 2014-01-11 01:25:49 +01:00
av_log.c av_log: add tons of warnings against mismatched ffmpeg/libav libraries 2014-02-10 23:28:10 +01:00
av_log.h av_log: mp_msg conversion 2013-12-21 21:43:16 +01:00
av_opts.c
av_opts.h
codecs.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
codecs.h codecs: mp_msg conversion 2013-12-21 20:50:12 +01:00
common.c common: change mp_snprintf_append semantics 2014-05-05 23:56:12 +02:00
common.h common: change MP_NOPTS_VALUE definition 2014-05-10 10:44:16 +02:00
encode_lavc.c Revert "encode: make the central lock recursive" 2014-06-12 10:37:17 +02:00
encode_lavc.h encode: make option struct local 2014-06-11 02:05:07 +02:00
encode.h encode: make option struct local 2014-06-11 02:05:07 +02:00
global.h stream: remove interrupt callback global variables 2014-04-25 19:12:24 +02:00
msg_control.h Add more const 2014-06-11 00:39:14 +02:00
msg.c build: allow compilation without any atomics 2014-07-05 17:07:16 +02:00
msg.h options: remove deprecated --identify 2014-05-04 02:46:11 +02:00
playlist.c playlist: fix playlist_move on itself 2014-05-25 19:42:51 +02:00
playlist.h player: remove ASX, SMIL and NSC playlist parsers 2014-04-13 15:40:05 +02:00
tags.c demux, stream: change metadata notification 2014-07-05 17:07:14 +02:00
tags.h demux, stream: change metadata notification 2014-07-05 17:07:14 +02:00
version.c Add more const 2014-06-11 00:39:14 +02:00