From e9cda168c0fc4fa58175c23a2c04af11c2649f1e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 27 Feb 2017 14:18:04 +0100 Subject: vf_vavpp: remove apparently broken change-detection This is probably wrong. Just don't bother with it. The only potentially negative effect is from calling vaQueryVideoProcPipelineCaps() every frame. --- video/filter/vf_vavpp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/filter') diff --git a/video/filter/vf_vavpp.c b/video/filter/vf_vavpp.c index ad669ac159..92ebf10275 100644 --- a/video/filter/vf_vavpp.c +++ b/video/filter/vf_vavpp.c @@ -112,8 +112,6 @@ static void update_pipeline(struct vf_instance *vf) filters++; num_filters--; } - if (filters == p->pipe.filters && num_filters == p->pipe.num_filters) - return; /* cached state is correct */ p->pipe.forward.num_surfaces = p->pipe.backward.num_surfaces = 0; p->pipe.num_input_colors = p->pipe.num_output_colors = 0; p->pipe.num_filters = 0; -- cgit v1.2.3