From 8a74638dc743007f6d5d6bb3a672167fce353480 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Apr 2014 01:17:28 +0200 Subject: video: add a "hwdec" property to enable or disable hw decoding at runtime --- DOCS/man/en/input.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'DOCS') 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``. -- cgit v1.2.3