[FFmpeg-cvslog] avcodec/dxva2_vc1: add missing frame_params callback to vc1_d3d11va2 hwaccel

James Almer git at videolan.org
Thu Mar 22 16:48:17 EET 2018


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Mar 22 01:40:02 2018 -0300| [59347c2474801fda88c9a231b888c354362641b6] | committer: James Almer

avcodec/dxva2_vc1: add missing frame_params callback to vc1_d3d11va2 hwaccel

Fixes ticket #7096

Reviewed-by: wm4 <nfxjfg at googlemail.com>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59347c2474801fda88c9a231b888c354362641b6
---

 libavcodec/dxva2_vc1.c | 1 +
 1 file changed, 1 insertion(+)

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),
 };



More information about the ffmpeg-cvslog mailing list