1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 14:20:55 +00:00
mpv/player
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
..
lua ytdl_hook: don't bother adding subtitles if duration isn't known 2016-09-13 09:23:00 +02:00
audio.c player: litter code with explicit wakeup calls 2016-09-16 14:39:45 +02:00
client.c player: use better way to wait for input and dispatching commands 2016-09-16 14:49:23 +02:00
client.h client API: add stream_cb API for user-defined stream implementations 2016-08-07 19:33:20 +02:00
command.c player: make --terminal freetly settable at runtime 2016-09-19 19:54:54 +02:00
command.h options: slightly better option update mechanism 2016-09-19 19:51:26 +02:00
configfiles.c player: Save sub-speed value when resuming playback 2016-09-13 09:23:28 +02:00
core.h player: make --terminal freetly settable at runtime 2016-09-19 19:54:54 +02:00
external_files.c ta: remove old and redundant macro 2016-05-17 10:53:14 +02:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
lavfi.c lavfi: shut up false positive compiler warnings 2016-04-26 19:38:51 +02:00
lavfi.h player: add complex filter graph support 2016-02-05 23:19:56 +01:00
loadfile.c player: litter code with explicit wakeup calls 2016-09-16 14:39:45 +02:00
lua.c client API: declare mpv_suspend/mpv_resume deprecated 2016-09-16 14:39:47 +02:00
main.c player: make --terminal freetly settable at runtime 2016-09-19 19:54:54 +02:00
misc.c player: litter code with explicit wakeup calls 2016-09-16 14:39:45 +02:00
osd.c player: litter code with explicit wakeup calls 2016-09-16 14:39:45 +02:00
playloop.c player: use better way to wait for input and dispatching commands 2016-09-16 14:49:23 +02:00
screenshot.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
screenshot.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
scripting.c player: litter code with explicit wakeup calls 2016-09-16 14:39:45 +02:00
sub.c osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
video.c player: more option/property consistency fixes 2016-09-18 16:08:21 +02:00