diff options
author | wm4 <wm4@nowhere> | 2013-11-28 19:28:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-28 19:28:38 +0100 |
commit | 0d255f07bf46948289a2698a4a7063514d0e1ef9 (patch) | |
tree | 640b11bf0a569aa9292db6e31e697ada2ccdba7f /mpvcore/options.c | |
parent | 0a18f3eb9a163b1cd656129dac6164d7914ecc41 (diff) | |
download | mpv-0d255f07bf46948289a2698a4a7063514d0e1ef9.tar.bz2 mpv-0d255f07bf46948289a2698a4a7063514d0e1ef9.tar.xz |
build: make pthreads mandatory
pthreads should be available anywhere. Even if not, for environment
without threads a pthread wrapper could be provided that can't actually
start threads, thus disabling features that require threads.
Make pthreads mandatory in order to simplify build dependencies and to
reduce ifdeffery. (Admittedly, there wasn't much complexity, but maybe
we will use pthreads more in the future, and then it'd become a real
bother.)
Diffstat (limited to 'mpvcore/options.c')
-rw-r--r-- | mpvcore/options.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c index 11819c5286..f8aad2eeb6 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -352,7 +352,6 @@ const m_option_t mp_opts[] = { // ------------------------- stream options -------------------- -#if HAVE_STREAM_CACHE OPT_CHOICE_OR_INT("cache", stream_cache_size, 0, 32, 0x7fffffff, ({"no", 0}, {"auto", -1}), @@ -364,7 +363,7 @@ const m_option_t mp_opts[] = { OPT_FLOATRANGE("cache-seek-min", stream_cache_seek_min_percent, 0, 0, 99), OPT_CHOICE_OR_INT("cache-pause", stream_cache_pause, 0, 0, 40, ({"no", -1})), -#endif /* HAVE_STREAM_CACHE */ + {"cdrom-device", &cdrom_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, #if HAVE_DVDREAD {"dvd-device", &dvd_device, CONF_TYPE_STRING, 0, 0, 0, NULL}, |