aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-03-22 01:40:02 -0300
committerJames Almer <jamrial@gmail.com>2018-03-22 11:46:32 -0300
commit59347c2474801fda88c9a231b888c354362641b6 (patch)
tree3e296e7b706d0dfbd8753a41412fcfdde9853cdf
parented0e0fe1021148007010a4d23017263599a52d82 (diff)
downloadffmpeg-59347c2474801fda88c9a231b888c354362641b6.tar.gz
avcodec/dxva2_vc1: add missing frame_params callback to vc1_d3d11va2 hwaccel
Fixes ticket #7096 Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/dxva2_vc1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dxva2_vc1.c b/libavcodec/dxva2_vc1.c
index f22c73cd1e..06f1083b3a 100644
--- a/libavcodec/dxva2_vc1.c
+++ b/libavcodec/dxva2_vc1.c
@@ -473,6 +473,7 @@ const AVHWAccel ff_vc1_d3d11va2_hwaccel = {
.start_frame = dxva2_vc1_start_frame,
.decode_slice = dxva2_vc1_decode_slice,
.end_frame = dxva2_vc1_end_frame,
+ .frame_params = ff_dxva2_common_frame_params,
.frame_priv_data_size = sizeof(struct dxva2_picture_context),
.priv_data_size = sizeof(FFDXVASharedContext),
};