From ac295960b8486f104a6aa800d8d31ca2eeba99a0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Oct 2017 14:37:28 +0200 Subject: 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. --- options/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/options.h') 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; -- cgit v1.2.3