diff options
author | wm4 <wm4@nowhere> | 2017-02-27 14:18:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-02-27 14:18:04 +0100 |
commit | e9cda168c0fc4fa58175c23a2c04af11c2649f1e (patch) | |
tree | 8a5390086e71d8c17d179b0288e96c4c89c38a18 /video/filter/vf_vavpp.c | |
parent | 2b6ac866c066a5422dc641c2ba9aa3af495a45c7 (diff) | |
download | mpv-e9cda168c0fc4fa58175c23a2c04af11c2649f1e.tar.bz2 mpv-e9cda168c0fc4fa58175c23a2c04af11c2649f1e.tar.xz |
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.
Diffstat (limited to 'video/filter/vf_vavpp.c')
-rw-r--r-- | video/filter/vf_vavpp.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |