1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
mpv/demux
Stefano Pigozzi 37388ebb0e configure: uniform the defines to #define HAVE_xxx (0|1)
The configure followed 5 different convetions of defines because the next guy
always wanted to introduce a new better way to uniform it[1]. For an
hypothetic feature 'hurr' you could have had:

  * #define HAVE_HURR 1   / #undef HAVE_DURR
  * #define HAVE_HURR     / #undef HAVE_DURR
  * #define CONFIG_HURR 1 / #undef CONFIG_DURR
  * #define HAVE_HURR 1   / #define HAVE_DURR 0
  * #define CONFIG_HURR 1 / #define CONFIG_DURR 0

All is now uniform and uses:
  * #define HAVE_HURR 1
  * #define HAVE_DURR 0

We like definining to 0 as opposed to `undef` bcause it can help spot typos
and is very helpful when doing big reorganizations in the code.

[1]: http://xkcd.com/927/ related
2013-11-03 21:59:54 +01:00
..
codec_tags.c demux_mkv: add support for HEVC 2013-10-16 00:47:52 +02:00
codec_tags.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux_cue.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
demux_edl.c demux: remove useless author/comment fields 2013-07-12 22:16:27 +02:00
demux_lavf.c Enable -Wshadow 2013-11-01 13:00:15 +01:00
demux_libass.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
demux_mf.c demux: remove unused audio_delay parameter from demux_seek() 2013-08-22 19:14:26 +02:00
demux_mkv.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
demux_mng.c demux: remove unused audio_delay parameter from demux_seek() 2013-08-22 19:14:26 +02:00
demux_packet.h demux: workaround for -demuxer mpegts -correct-pts 2013-05-21 22:07:13 +02:00
demux_playlist.c demux_playlist: add mov RTSPtext tag parser 2013-09-14 15:58:10 +02:00
demux_raw.c demux: rename Windows symbols 2013-11-02 15:14:12 +01:00
demux_subreader.c demux: remove unused audio_delay parameter from demux_seek() 2013-08-22 19:14:26 +02:00
demux.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
demux.h matroska: store segment/edition uids in a single structure 2013-10-07 22:40:39 -04:00
ebml.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
ebml.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
matroska.h demux_mkv: add support for HEVC 2013-10-16 00:47:52 +02:00
mf.c configure: uniform the defines to #define HAVE_xxx (0|1) 2013-11-03 21:59:54 +01:00
mf.h demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
ms_hdr.h demux: rename Windows symbols 2013-11-02 15:14:12 +01:00
stheader.h demux: rename Windows symbols 2013-11-02 15:14:12 +01:00