diff options
author | wm4 <wm4@nowhere> | 2020-01-17 15:19:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-01-17 15:19:05 +0100 |
commit | ad1ae6425196cd6ad6237f96423caa5c8533a2ba (patch) | |
tree | 788342b2f9b4ced20b128c17f17f79897577705a /filters/f_output_chain.c | |
parent | 044996e1123b17b8f16e7c8995de185944257be5 (diff) | |
download | mpv-ad1ae6425196cd6ad6237f96423caa5c8533a2ba.tar.bz2 mpv-ad1ae6425196cd6ad6237f96423caa5c8533a2ba.tar.xz |
f_autoconvert: remove subfmt conversion BS
This was used to convert e.g. P010 to NV12 within the filter chain,
which hopefully a thing that is not needed anymore. (And has been dead
code since the ANGLE "RGB" interop code was removed.)
Diffstat (limited to 'filters/f_output_chain.c')
-rw-r--r-- | filters/f_output_chain.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/filters/f_output_chain.c b/filters/f_output_chain.c index 1a6a910273..9b54f85506 100644 --- a/filters/f_output_chain.c +++ b/filters/f_output_chain.c @@ -88,9 +88,6 @@ static void update_output_caps(struct chain *p) if (allowed_output_formats[n]) mp_autoconvert_add_imgfmt(p->convert, IMGFMT_START + n, 0); } - - if (p->vo->hwdec_devs) - mp_autoconvert_add_vo_hwdec_subfmts(p->convert, p->vo->hwdec_devs); } } |