summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2018-01-02 21:14:24 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-01-02 15:04:31 -0800
commit48943a73f68b09da9ff7120ca2804cf74f1cc27d (patch)
tree3a1a09780a2944344fc380fd532e44f55f87e1b7 /DOCS/man/options.rst
parent08bcf1d92da0ef19499c064cb8bc1b0cb64e5f10 (diff)
downloadmpv-48943a73f68b09da9ff7120ca2804cf74f1cc27d.tar.bz2
mpv-48943a73f68b09da9ff7120ca2804cf74f1cc27d.tar.xz
vo_gpu/context_android: replace both options with android-surface-size
This allows us to automatically trigger a VOCTRL_RESIZE (also contained).
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index eabaa2eb96..1a3c5d25cc 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -4753,12 +4753,10 @@ The following video options are currently all specific to ``--vo=gpu`` and
OS X only.
-``--android-surface-width=<number>``, ``--android-surface-height=<number>``
+``--android-surface-size=<WxH>``
Set dimensions of the rendering surface used by the Android gpu context.
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.