From 453fea87fa8e048b0b49eb7996c929792d7bfb40 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 1 Sep 2016 21:55:21 +0200 Subject: client API: create core thread at an earlier time Create the core thread right in mpv_create(), and reduce what mpv_initialize() does further. This is simpler, and allows the API user to do more before calling mpv_initialize(). The latter is not the real goal, rather we'd like mpv_intialize() reduced to do almost nothing. It still does a lot, but nothing truly special anymore that is absolutely required for basic mpv workings. One thing we want the user to be able to do is changing properties before mpv_initialize() to reduce the special status of mpv_set_option(). --- libmpv/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpv') diff --git a/libmpv/client.h b/libmpv/client.h index 7ec6590e64..9b73600da2 100644 --- a/libmpv/client.h +++ b/libmpv/client.h @@ -370,7 +370,7 @@ const char *mpv_client_name(mpv_handle *ctx); * and needs to be initialized to be actually used with most other API * functions. * - * Most API functions will return MPV_ERROR_UNINITIALIZED in the uninitialized + * Some API functions will return MPV_ERROR_UNINITIALIZED in the uninitialized * state. You can call mpv_set_option() (or mpv_set_option_string() and other * variants) to set initial options. After this, call mpv_initialize() to start * the player, and then use e.g. mpv_command() to start playback of a file. -- cgit v1.2.3