1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 05:22:23 +00:00

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.
This commit is contained in:
wm4 2017-02-27 14:18:04 +01:00
parent 2b6ac866c0
commit e9cda168c0

View File

@ -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;