diff mbox series

[FFmpeg-devel,2/2] lavfi/overlay_vaapi: remove unnecessary code

Message ID 20230113043831.2389116-2-haihao.xiang@intel.com
State Accepted
Commit faf0afb5d937f480186dc4d3e5afc554e9ad0805
Headers show
Series [FFmpeg-devel,1/2] lavfi/vaapi: remove duplicated code | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Xiang, Haihao Jan. 13, 2023, 4:38 a.m. UTC
From: Haihao Xiang <haihao.xiang@intel.com>

VA-API filter is not required.

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
---
 libavfilter/vf_overlay_vaapi.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c
index 79cf66d068..16d1e0e211 100644
--- a/libavfilter/vf_overlay_vaapi.c
+++ b/libavfilter/vf_overlay_vaapi.c
@@ -208,9 +208,6 @@  static int overlay_vaapi_blend(FFFrameSync *fs)
         .height = output->height,
     };
 
-    params[0].filters     = &vpp_ctx->filter_buffers[0];
-    params[0].num_filters = vpp_ctx->nb_filter_buffers;
-
     params[0].output_region = &output_region;
     params[0].output_background_color = VAAPI_VPP_BACKGROUND_BLACK;