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_autoconvert.h | |
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_autoconvert.h')
-rw-r--r-- | filters/f_autoconvert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/f_autoconvert.h b/filters/f_autoconvert.h index ae08fd4e51..7cb144aa59 100644 --- a/filters/f_autoconvert.h +++ b/filters/f_autoconvert.h @@ -35,7 +35,7 @@ void mp_autoconvert_set_target_image_params(struct mp_autoconvert *c, // Each call adds to the list of allowed formats. Before the first call, all // formats are allowed (even non-video). // subfmt can be used to specify underlying surface formats for hardware formats, -// otherwise must be 0. +// otherwise must be 0. (Mismatches lead to conversion errors.) void mp_autoconvert_add_imgfmt(struct mp_autoconvert *c, int imgfmt, int subfmt); // Add all sw image formats. The effect is that hardware video image formats are |