mirror of https://github.com/mpv-player/mpv
vf_d3d11vpp: make missing deinterlacing caps non-fatal
Instead, warn.
This commit is contained in:
parent
1878a4655d
commit
36f8d41702
|
@ -179,11 +179,10 @@ static int recreate_video_proc(struct vf_instance *vf)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rindex < 0) {
|
if (rindex < 0) {
|
||||||
MP_ERR(vf, "No video processor found.\n");
|
MP_WARN(vf, "No video deinterlacing processor found.\n");
|
||||||
goto fail;
|
rindex = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Assume RateConversionIndex==0 always works fine for us.
|
|
||||||
hr = ID3D11VideoDevice_CreateVideoProcessor(p->video_dev, p->vp_enum, rindex,
|
hr = ID3D11VideoDevice_CreateVideoProcessor(p->video_dev, p->vp_enum, rindex,
|
||||||
&p->video_proc);
|
&p->video_proc);
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
|
|
Loading…
Reference in New Issue