summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-16 14:37:28 +0200
committerwm4 <wm4@nowhere>2017-10-16 15:02:12 +0200
commitac295960b8486f104a6aa800d8d31ca2eeba99a0 (patch)
treecfe27fa57e2939810f8ae3b765b86c2b63a3dd45 /options/options.h
parent23da3ed21a3897c374e01e68988e7dc24b705cfa (diff)
downloadmpv-ac295960b8486f104a6aa800d8d31ca2eeba99a0.tar.bz2
mpv-ac295960b8486f104a6aa800d8d31ca2eeba99a0.tar.xz
video: make it possible to always override hardware decoding format
Mostly an obscure option for testing. But --videotoolbox-format can be deprecated, as it becomes redundant. We rely on the libavutil hwcontext implementation to reject invalid pixfmts, or not to blow up if they are incompatible.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 3bb2a0a311..e56ed7d619 100644
--- a/options/options.h
+++ b/options/options.h
@@ -292,6 +292,7 @@ typedef struct MPOpts {
int hwdec_api;
char *hwdec_codecs;
int videotoolbox_format;
+ int hwdec_image_format;
int w32_priority;