1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 14:20:55 +00:00
mpv/player
wm4 df85c76b7f client API: revert some relaxations about calling mpv_initialize()
My original idea was making mpv_initialize() a no-op, but it seems this
can't happen after all. The problem is especially with subtle
interactions in option parsing (basically all pre-parse options).

Instead, I might go into the opposite direction, and add a new API
function that takes over the role of mpv_create+mpv_initialize, and
which will take a list of options. This list will be for the purpose
of setting options that can be set only at initialization time (such
as config-dir). This would also make it more uniform with the command-
line player initialization.

Maybe.

In any case, for now revert parts of commit 453fea87 to remove the
initialization-related freedoms it added. Fortunately, this wasn't
released yet, so we remove it from the API as if it never happened.

(The rest of that commit is still fine, just not the additional
freedom.)
2016-09-19 20:02:53 +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 client API: revert some relaxations about calling mpv_initialize() 2016-09-19 20:02:53 +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: minor changes in init code 2016-09-19 19:57:31 +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: minor changes in init code 2016-09-19 19:57:31 +02:00
lua.c client API: declare mpv_suspend/mpv_resume deprecated 2016-09-16 14:39:47 +02:00
main.c player: minor changes in init code 2016-09-19 19:57:31 +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: minor changes in init code 2016-09-19 19:57:31 +02:00