diff options
author | Aman Gupta <aman@tmm1.net> | 2017-12-29 22:45:55 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-01 22:21:44 -0800 |
commit | 2dd020efc297454fb50ddef0eb56db17e33530a0 (patch) | |
tree | faa2aeb4ef138674da9c42ab1b48dcb717ffd496 /DOCS/man | |
parent | d7188ce7531f6dcefa68d9a2de037749a4edf814 (diff) | |
download | mpv-2dd020efc297454fb50ddef0eb56db17e33530a0.tar.bz2 mpv-2dd020efc297454fb50ddef0eb56db17e33530a0.tar.xz |
vo_gpu/android: fallback to EGL_WIDTH/HEIGHT
Uses the EGL width/height by default when the user fails to set
the android-surface-width/android-surface-height options.
This means the vo-resize command is optional, and does not need to
be implemented on android devices which do not support rotation.
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/options.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index c68f1468d4..eabaa2eb96 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4755,8 +4755,10 @@ The following video options are currently all specific to ``--vo=gpu`` and ``--android-surface-width=<number>``, ``--android-surface-height=<number>`` Set dimensions of the rendering surface used by the Android gpu context. - Needs to be set by the embedding application. Setting these does not re- - configure the vo, thus ``vo-resize`` should be called afterwards. + Needs to be set by the embedding application if the dimensions change during + runtime (i.e. if the device is rotated), via the surfaceChanged callback. + Setting these does not re-configure the vo, thus ``vo-resize`` should be + called afterwards. Android with ``--gpu-context=android`` only. |