From 8f2ccba71bb44cceb43436cbbabd6e42fc71925c Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 22 Aug 2017 19:08:07 +0200 Subject: video: change --deinterlace behavior This removes all GPL only code from it, and that's the whole purpose. Also happens to be much simpler. The "deinterlace" option still sort of exists, but only as runtime changeable option. The main change in behavior is that the property will not report back the actual deint state. Or in other words, if inserting or initializing the filter fails, the deinterlace property will still return "yes". This is in line with most recent behavior changes to properties and options. --- video/filter/vf_d3d11vpp.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'video/filter/vf_d3d11vpp.c') diff --git a/video/filter/vf_d3d11vpp.c b/video/filter/vf_d3d11vpp.c index 92999be639..cbd59fef93 100644 --- a/video/filter/vf_d3d11vpp.c +++ b/video/filter/vf_d3d11vpp.c @@ -465,12 +465,6 @@ static int control(struct vf_instance *vf, int request, void* data) { struct vf_priv_s *p = vf->priv; switch (request){ - case VFCTRL_GET_DEINTERLACE: - *(int*)data = !!p->deint_enabled; - return true; - case VFCTRL_SET_DEINTERLACE: - p->deint_enabled = !!*(int*)data; - return true; case VFCTRL_SEEK_RESET: flush_frames(vf); return true; -- cgit v1.2.3