summaryrefslogtreecommitdiff
path: root/libavfilter/vf_deinterlace_vaapi.c
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2017-04-22 15:57:18 +0700
committerMuhammad Faiz <mfcc64@gmail.com>2017-04-23 14:40:30 +0700
commit6af050d7d0c3c73f3d62115152db82ebd2dc5d57 (patch)
treed1c7b6d4711dc095cab3f135f5c6433b4474364a /libavfilter/vf_deinterlace_vaapi.c
parent8103c595223613c08e44bcf56ae7098d3c31be8b (diff)
avfilter: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavfilter/vf_deinterlace_vaapi.c')
-rw-r--r--libavfilter/vf_deinterlace_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_deinterlace_vaapi.c b/libavfilter/vf_deinterlace_vaapi.c
index 91652d852b..5e7f7cf1c2 100644
--- a/libavfilter/vf_deinterlace_vaapi.c
+++ b/libavfilter/vf_deinterlace_vaapi.c
@@ -446,7 +446,7 @@ static int deint_vaapi_filter_frame(AVFilterLink *inlink, AVFrame *input_frame)
params.surface = input_surface;
params.surface_region = &input_region;
params.surface_color_standard = vaapi_proc_colour_standard(
- av_frame_get_colorspace(input_frame));
+ input_frame->colorspace);
params.output_region = NULL;
params.output_background_color = 0xff000000;