diff options
author | wm4 <wm4@nowhere> | 2017-03-02 11:33:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-03-02 11:49:12 +0100 |
commit | 85c8556eef9ccdb6b172f64a0016bc16f8a092fb (patch) | |
tree | 54d1201411ba937c47d7567b5cedca326b31d91d /options/options.c | |
parent | 0aa01ca7434ba94bcc3d4093458701d596690d50 (diff) | |
download | mpv-85c8556eef9ccdb6b172f64a0016bc16f8a092fb.tar.bz2 mpv-85c8556eef9ccdb6b172f64a0016bc16f8a092fb.tar.xz |
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.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |