From 2a9534871d51965b4b6b6fb688397096df963c89 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 2 Feb 2015 22:43:05 +0100 Subject: command: add property returning detected hwdec API This is somewhat imperfect, because detection of hw decoding APIs is mostly done on demand, and often avoided if not necessary. (For example, we know very well that there are no hw decoders for certain codecs.) This also requires every hwdec backend to identify itself (see hwdec.h changes). --- DOCS/man/input.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 747892b668..7d8ac297f4 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1119,6 +1119,17 @@ Property list 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. +``detected-hwdec`` + Return the current hardware decoder that was detected and opened. Returns + the same values as ``hwdec``. + + This is known only once the VO has opened (and possibly later). With some + VOs (like ``opengl``), this is never known in advance, but only when the + decoder attempted to create the hw decoder successfully. Also, hw decoders + with ``-copy`` suffix are returned only while hw decoding is active (and + unset afterwards). All this reflects how detecting hw decoders are + detected and used internally in mpv. + ``panscan`` (RW) See ``--panscan``. -- cgit v1.2.3