summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-01 21:55:21 +0200
committerwm4 <wm4@nowhere>2016-09-01 21:55:21 +0200
commit453fea87fa8e048b0b49eb7996c929792d7bfb40 (patch)
treeada393bb1ef7fbf3ae7724943f5e22cafe8657a9 /libmpv
parent1393d79417278dfa63a7a5c767093eaf3504edce (diff)
downloadmpv-453fea87fa8e048b0b49eb7996c929792d7bfb40.tar.bz2
mpv-453fea87fa8e048b0b49eb7996c929792d7bfb40.tar.xz
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().
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h2
1 files changed, 1 insertions, 1 deletions
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.