1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-05 22:52:18 +00:00

client API: clarify license, fix some typos

This commit is contained in:
wm4 2018-02-21 12:39:22 +01:00 committed by Kevin Mitchell
parent b6c7d899ca
commit 70b74d32cd
2 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,8 @@
/*
* Note: the client API is licensed under ISC (see above) to enable
* other wrappers outside of mpv. But keep in mind that the
* mpv core is still mostly GPLv2+.
* mpv core is by default still GPLv2+ - unless built with
* --enable-lgpl, which makes it LGPLv2+.
*/
#ifndef MPV_CLIENT_API_H_

View File

@ -59,7 +59,7 @@ extern "C" {
* for OpenGL 2.1 and OpenGL ES 2.0.
*
* Note that some hardware decoding interop API (as set with the "hwdec" option)
* may actually access
* may actually access some sort of host API, such as EGL.
*
* OpenGL state
* ------------
@ -118,7 +118,7 @@ extern "C" {
* While "normal" mpv loads the OpenGL hardware decoding interop on demand,
* this can't be done with opengl_cb for internal technical reasons. Instead,
* it loads them by default, even if hardware decoding is not going to be used.
* In older mpv relases, this had to be done by setting the
* In older mpv releases, this had to be done by setting the
* "opengl-hwdec-interop" or "hwdec-preload" options before calling
* mpv_opengl_cb_init_gl(). You can still use the newer "gpu-hwdec-interop"
* option to prevent loading of interop, or to load only a specific interop.