aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_misc_vaapi.c
diff options
context:
space:
mode:
authorZachary Zhou <zachary.zhou@intel.com>2018-12-25 14:03:30 +0800
committerMark Thompson <sw@jkqxz.net>2018-12-30 18:10:16 +0000
commitb6b3159b04afab4f57ce788a5f4871244385f478 (patch)
treef6215d07a9aadb701fcb24c689432228bdd25050 /libavfilter/vf_misc_vaapi.c
parentba3d983c95b2054d046c9b9b79088634c54a24f0 (diff)
downloadffmpeg-b6b3159b04afab4f57ce788a5f4871244385f478.tar.gz
lavfi/vaapi: Add constant VAAPI_VPP_BACKGROUND_BLACK
Signed-off-by: Zachary Zhou <zachary.zhou@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavfilter/vf_misc_vaapi.c')
-rw-r--r--libavfilter/vf_misc_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_misc_vaapi.c b/libavfilter/vf_misc_vaapi.c
index 30b808a993..e227c9ff6b 100644
--- a/libavfilter/vf_misc_vaapi.c
+++ b/libavfilter/vf_misc_vaapi.c
@@ -174,7 +174,7 @@ static int misc_vaapi_filter_frame(AVFilterLink *inlink, AVFrame *input_frame)
ff_vaapi_vpp_colour_standard(input_frame->colorspace);
params.output_region = NULL;
- params.output_background_color = 0xff000000;
+ params.output_background_color = VAAPI_VPP_BACKGROUND_BLACK;
params.output_color_standard = params.surface_color_standard;
params.pipeline_flags = 0;