diff options
author | wm4 <wm4@nowhere> | 2014-04-23 01:17:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-23 01:58:12 +0200 |
commit | 8a74638dc743007f6d5d6bb3a672167fce353480 (patch) | |
tree | ebfe93c575a3d801cb21cd565da29e6f1d5bd41f /DOCS/man/en | |
parent | c7ab0019a388ceabda38e0d7ba5eb289f30e24af (diff) | |
download | mpv-8a74638dc743007f6d5d6bb3a672167fce353480.tar.bz2 mpv-8a74638dc743007f6d5d6bb3a672167fce353480.tar.xz |
video: add a "hwdec" property to enable or disable hw decoding at runtime
Diffstat (limited to 'DOCS/man/en')
-rw-r--r-- | DOCS/man/en/input.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst index dadf8a1901..8c5a021329 100644 --- a/DOCS/man/en/input.rst +++ b/DOCS/man/en/input.rst @@ -879,6 +879,16 @@ Property list ``hue`` (RW) See ``--hue``. +``hwdec`` (RW) + Return the current hardware decoder that is used. This uses the same values + as the ``--hwdec`` option. If software decoding is active, this returns + ``no``. You can write this property. Then the ``--hwdec`` option is set to + the new value, and video decoding will be reinitialized (internally, the + player will perform a seek to refresh the video properly). + + Note that you don't know the success of the operation immediately after + writing this property. It happens with a delay as video is reinitialized. + ``panscan`` (RW) See ``--panscan``. |