summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-10-17 22:43:14 +0200
committerwm4 <wm4@nowhere>2019-10-17 22:43:14 +0200
commit77fd4dd681be8eb95d8e7b79b66242822f95e4da (patch)
tree7d512a14700da3b16019bd9c3a946a19d2e3138d /video/filter
parenta6000d3114214cf697d628ad09c8ca226c31340d (diff)
downloadmpv-77fd4dd681be8eb95d8e7b79b66242822f95e4da.tar.bz2
mpv-77fd4dd681be8eb95d8e7b79b66242822f95e4da.tar.xz
video: remove mp_image_params.hw_flags field
This was speculatively added 2 years ago in preparation for something that apparently never happened. The D3D code was added as an "example", but this too was never used/finished. No reason to keep this.
Diffstat (limited to 'video/filter')
-rw-r--r--video/filter/vf_d3d11vpp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/filter/vf_d3d11vpp.c b/video/filter/vf_d3d11vpp.c
index 5464019dac..504b881f3f 100644
--- a/video/filter/vf_d3d11vpp.c
+++ b/video/filter/vf_d3d11vpp.c
@@ -349,7 +349,6 @@ static void vf_d3d11vpp_process(struct mp_filter *vf)
p->out_params.hw_subfmt = IMGFMT_NV12;
p->out_format = DXGI_FORMAT_NV12;
- p->out_params.hw_flags = 0;
p->require_filtering = p->params.hw_subfmt != p->out_params.hw_subfmt;
}