1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/osdep
wm4 b62634c051 player: make --terminal freetly settable at runtime
So client API users don't have to care about whether to set this before
or after mpv_initialize().

We still don't enable terminal at any point before mpv_initialize(),
because reasons.

This also subtly changes some behavior how terminal options are applied
while parsing. This essentially reverts the behavior as it was reported
in issue #2588. Originally, I was hoping to get rid of the pre-parse
option pass, but it seems this is absolutely not possible due to the way
config and command line parsing are entangled. Command line options take
priority over configfile options, so they have to be applied later - but
we also want to apply logging and terminal options as specified on the
command-line, but _before_ parsing the config files. It has to be this
way to see config file error messages on the terminal, or to hide them
if --no-terminal is used. libmpv considerations also factor into this.
2016-09-19 19:54:54 +02:00
..
android Initial Android support 2016-02-10 21:29:36 +01:00
ar Fix misspellings 2016-06-26 13:47:21 +02:00
win32 win32: pthread: use SRW locks by default 2016-05-24 19:02:22 +02:00
atomic.h osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
compiler.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
endian.h audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
glob-win.c glob-win: relicense to LGPL 2016-02-18 22:57:28 +11:00
io.c osdep/io: introduce mp_flush_wakeup_pipe() 2016-07-30 00:02:39 +02:00
io.h osdep/io: introduce mp_flush_wakeup_pipe() 2016-07-30 00:02:39 +02:00
macosx_application_objc.h cocoa: always compile OSX application code with cocoa 2015-05-02 18:09:56 +02:00
macosx_application.h build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
macosx_application.m Use - as command-name separator everywhere 2016-07-14 22:37:42 +02:00
macosx_compat.h cocoa: fix compilation on OS X 10.8 2014-07-14 07:21:44 +02:00
macosx_events_objc.h osx: never expose input_ctx from EventsResponder 2015-05-26 22:39:04 +02:00
macosx_events.h Update license headers 2015-04-13 12:10:01 +02:00
macosx_events.m cocoa: fix charcode retrieving for accented characters 2016-02-15 18:21:50 +01:00
macosx_versions.h cocoa: fix compilation on OS X 10.8 2014-07-14 07:21:44 +02:00
main-fn-cocoa.c build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
main-fn-unix.c build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
main-fn-win.c win32: remove SetDllDirectoryW dynamic loading 2015-12-20 21:06:02 +11:00
main-fn.h build: move main-fn files to osdep 2015-05-02 18:59:58 +02:00
mpv.exe.manifest win32: add Windows 10 compatibility GUID 2015-12-20 21:06:02 +11:00
mpv.rc win32: mpv.rc: re-add version info 2016-07-12 21:05:33 +10:00
path-macosx.m Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
path-unix.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
path-win.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
path.h path: update path descriptions 2015-05-02 16:14:51 +02:00
semaphore_osx.c osdep/semaphore_osx.c: Include osdep/semaphore.h before #ifdef 2014-09-10 17:22:20 +09:00
semaphore.h osdep: hack to fix build with low quality pthreads-w32 headers 2014-09-20 04:18:40 +02:00
strnlen.h Initial Android support 2016-02-10 21:29:36 +01:00
subprocess-posix.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
subprocess-win.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
subprocess.c subprocess: add a callback to ignore output 2016-07-05 19:15:59 +02:00
subprocess.h subprocess: add a callback to ignore output 2016-07-05 19:15:59 +02:00
terminal-unix.c player: make --terminal freetly settable at runtime 2016-09-19 19:54:54 +02:00
terminal-win.c player: make --terminal freetly settable at runtime 2016-09-19 19:54:54 +02:00
terminal.h Update license headers 2015-04-13 12:10:01 +02:00
threads.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
threads.h threads: use utility+POSIX functions instead of weird wrappers 2015-05-11 23:44:36 +02:00
timer-darwin.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
timer-linux.c Update license headers 2015-04-13 12:10:01 +02:00
timer-win2.c win32: use QueryPerformanceCounter for timing 2015-07-04 15:54:14 +02:00
timer.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
timer.h threads: use utility+POSIX functions instead of weird wrappers 2015-05-11 23:44:36 +02:00
w32_keyboard.c Revert "win32: add mappings for some special keys" 2015-06-24 15:14:38 +02:00
w32_keyboard.h w32: use the w32_common keymap in terminal-win too 2014-01-19 14:42:15 +01:00
win32-console-wrapper.c win32: fix fd:// 2016-01-07 23:37:06 +11:00
windows_utils.c windows_utils: try and use FormatMessage for errors. 2016-02-17 06:58:56 -08:00
windows_utils.h windows_utils: try and use FormatMessage for errors. 2016-02-17 06:58:56 -08:00