summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-09-13 12:31:18 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commite60bcf0d9814da076ccdf1abb1a0b5a0af149f38 (patch)
tree7c6087fa2c5488361dfd6236648a17b860ca0628
parent0cd8ba72fe47d11b196adc2ad1f64b1243312d2e (diff)
downloadmpv-e60bcf0d9814da076ccdf1abb1a0b5a0af149f38.tar.bz2
mpv-e60bcf0d9814da076ccdf1abb1a0b5a0af149f38.tar.xz
client API: fix some comments
-rw-r--r--libmpv/client.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index eec3d0776f..eeaa687318 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -165,14 +165,14 @@ extern "C" {
* Embedding the video window
* --------------------------
*
- * Using the opengl-cb API (in opengl_cb.h) is recommended. This API requires
+ * Using the render API (in render_cb.h) is recommended. This API requires
* you to create and maintain an OpenGL context, to which you can render
* video using a specific API call. This API does not include keyboard or mouse
* input directly.
*
* There is an older way to embed the native mpv window into your own. You have
* to get the raw window handle, and set it as "wid" option. This works on X11,
- * win32, and OSX only. It's much easier to use than the opengl-cb API, but
+ * win32, and OSX only. It's much easier to use than the render API, but
* also has various problems.
*
* Also see client API examples and the mpv manpage. There is an extensive
@@ -440,12 +440,12 @@ mpv_handle *mpv_create(void);
/**
* Initialize an uninitialized mpv instance. If the mpv instance is already
- * running, an error is retuned.
+ * running, an error is returned.
*
* This function needs to be called to make full use of the client API if the
* client API handle was created with mpv_create().
*
- * Only the following options require to be set _before_ mpv_initialize():
+ * Only the following options are required to be set _before_ mpv_initialize():
* - options which are only read at initialization time:
* - config
* - config-dir