summaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-16 23:37:06 +0200
committerwm4 <wm4@nowhere>2019-10-16 23:41:06 +0200
commitbd0af9a7614f230ba62e3426a84925a49de60d51 (patch)
tree22e4d65a3c0fc865a45b999dc9ee48edc672c04e /filters
parentb7eae31834ed6ecd724d68b2939d6b9073b1d296 (diff)
downloadmpv-bd0af9a7614f230ba62e3426a84925a49de60d51.tar.bz2
mpv-bd0af9a7614f230ba62e3426a84925a49de60d51.tar.xz
vf_d3d11vpp: remove RGB conversion hack
With the previous commit, this is dead code. This also makes the f_autoconvert.c code for this dead code (fortunately). Will probably remove this later.
Diffstat (limited to 'filters')
-rw-r--r--filters/f_autoconvert.c3
-rw-r--r--filters/f_autoconvert.h9
2 files changed, 1 insertions, 11 deletions
diff --git a/filters/f_autoconvert.c b/filters/f_autoconvert.c
index 76c93363ca..065092ac64 100644
--- a/filters/f_autoconvert.c
+++ b/filters/f_autoconvert.c
@@ -65,9 +65,6 @@ struct subfmt_conv {
};
static const struct subfmt_conv subfmt_converters[] = {
-#if HAVE_D3D_HWACCEL
- {IMGFMT_D3D11, vf_d3d11_create_outconv},
-#endif
{0}
};
diff --git a/filters/f_autoconvert.h b/filters/f_autoconvert.h
index c26612f2f9..e8c5a44134 100644
--- a/filters/f_autoconvert.h
+++ b/filters/f_autoconvert.h
@@ -47,11 +47,7 @@ void mp_autoconvert_add_all_sw_imgfmts(struct mp_autoconvert *c);
bool mp_autoconvert_probe_input_video(struct mp_autoconvert *c,
struct mp_image *img);
-// Add the formats supported by the hwdec interops (or essentially refine them),
-// and trigger conversion if hw_subfmts mismatch. This is mostly a hack for
-// D3D11/ANGLE (which supports NV12 only).
-// Must be called mp_autoconvert_add_imgfmt(), and overrides them where formats
-// collide.
+// This is pointless.
struct mp_hwdec_devices;
void mp_autoconvert_add_vo_hwdec_subfmts(struct mp_autoconvert *c,
struct mp_hwdec_devices *devs);
@@ -75,6 +71,3 @@ void mp_autoconvert_clear(struct mp_autoconvert *c);
// See mp_autoconvert.on_audio_format_change.
void mp_autoconvert_format_change_continue(struct mp_autoconvert *c);
-
-// vf_d3d11vpp.c
-struct mp_filter *vf_d3d11_create_outconv(struct mp_filter *parent);