From 36f8d417028adb29a48b0c9e7727ed2a04cb569c Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 16 Jun 2016 17:17:54 +0200 Subject: vf_d3d11vpp: make missing deinterlacing caps non-fatal Instead, warn. --- video/filter/vf_d3d11vpp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'video') 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)) { -- cgit v1.2.3