From 85c8556eef9ccdb6b172f64a0016bc16f8a092fb Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 2 Mar 2017 11:33:05 +0100 Subject: hw_videotoolbox: allow using native decoder output format Depends on FFmpeg commit ade7c1a2326e2bb9b. It has yet to show whether it actually does what it should. Probably doesn't. --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index 7723ddec50..012707cb2c 100644 --- a/options/options.c +++ b/options/options.c @@ -448,7 +448,7 @@ const m_option_t mp_opts[] = { OPT_CHOICE_C("hwdec", hwdec_api, 0, mp_hwdec_names), OPT_STRING("hwdec-codecs", hwdec_codecs, 0), #if HAVE_VIDEOTOOLBOX_HWACCEL - OPT_IMAGEFORMAT("videotoolbox-format", videotoolbox_format, 0), + OPT_IMAGEFORMAT("videotoolbox-format", videotoolbox_format, 0, .min = -1), #endif // -1 means auto aspect (prefer container size until aspect change) -- cgit v1.2.3