summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-02-12 18:26:18 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-02-13 17:45:29 -0800
commitd6890c19dd0e34a71383e8fd1b7acdc0f9f08f69 (patch)
tree4137f10293fcbef19bf4fe25a207c2c8bb1a2eb0 /player/command.c
parent830f0aed97da7257e1cbe30a367144bc51ec52d2 (diff)
downloadmpv-d6890c19dd0e34a71383e8fd1b7acdc0f9f08f69.tar.bz2
mpv-d6890c19dd0e34a71383e8fd1b7acdc0f9f08f69.tar.xz
input: add a keybinding to toggle hardware decoding
We sure as hell won't enable hardware decoding by default, but we can make it more accessible with a key binding.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index b282edda4c..e4e5246cc4 100644
--- a/player/command.c
+++ b/player/command.c
@@ -4321,6 +4321,7 @@ static const struct property_osd_display {
{"ab-loop-a", "A-B loop start"},
{"ab-loop-b", .msg = "A-B loop: ${ab-loop-a} - ${ab-loop-b}"},
{"audio-device", "Audio device"},
+ {"hwdec", .msg = "Hardware decoding: ${hwdec-current}"},
// By default, don't display the following properties on OSD
{"pause", NULL},
{"fullscreen", NULL},