summaryrefslogtreecommitdiffstats
path: root/video/decode/vd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-23 01:17:28 +0200
committerwm4 <wm4@nowhere>2014-04-23 01:58:12 +0200
commit8a74638dc743007f6d5d6bb3a672167fce353480 (patch)
treeebfe93c575a3d801cb21cd565da29e6f1d5bd41f /video/decode/vd.h
parentc7ab0019a388ceabda38e0d7ba5eb289f30e24af (diff)
downloadmpv-8a74638dc743007f6d5d6bb3a672167fce353480.tar.bz2
mpv-8a74638dc743007f6d5d6bb3a672167fce353480.tar.xz
video: add a "hwdec" property to enable or disable hw decoding at runtime
Diffstat (limited to 'video/decode/vd.h')
-rw-r--r--video/decode/vd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/vd.h b/video/decode/vd.h
index 35c2739aa8..28ace3cc04 100644
--- a/video/decode/vd.h
+++ b/video/decode/vd.h
@@ -45,6 +45,7 @@ enum vd_ctrl {
VDCTRL_RESET = 1, // reset decode state after seeking
VDCTRL_QUERY_UNSEEN_FRAMES, // current decoder lag
VDCTRL_FORCE_HWDEC_FALLBACK, // force software decoding fallback
+ VDCTRL_GET_HWDEC,
};
#endif /* MPLAYER_VD_H */