aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/filter
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-06-16 17:17:54 +0200
committerGravatar wm4 <wm4@nowhere>2016-06-16 17:17:54 +0200
commit36f8d417028adb29a48b0c9e7727ed2a04cb569c (patch)
tree2134b76f7ec9c64f9a750874bb8777979334bca5 /video/filter
parent1878a4655d81f4a0d2fc6f8d22f753a8655e913c (diff)
vf_d3d11vpp: make missing deinterlacing caps non-fatal
Instead, warn.
Diffstat (limited to 'video/filter')
-rw-r--r--video/filter/vf_d3d11vpp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/filter/vf_d3d11vpp.c b/video/filter/vf_d3d11vpp.c
index 7d1daa26e7..63cbe471d4 100644
--- a/video/filter/vf_d3d11vpp.c
+++ b/video/filter/vf_d3d11vpp.c
@@ -179,11 +179,10 @@ static int recreate_video_proc(struct vf_instance *vf)
}
if (rindex < 0) {
- MP_ERR(vf, "No video processor found.\n");
- goto fail;
+ MP_WARN(vf, "No video deinterlacing processor found.\n");
+ rindex = 0;
}
- // Assume RateConversionIndex==0 always works fine for us.
hr = ID3D11VideoDevice_CreateVideoProcessor(p->video_dev, p->vp_enum, rindex,
&p->video_proc);
if (FAILED(hr)) {