[FFmpeg-devel] [PATCH] avcodec/dxva2_vc1: add missing frame_params callback to vc1_d3d11va2 hwaccel
James Almer
jamrial at gmail.com
Thu Mar 22 06:41:11 EET 2018
Fixes ticket #7096
Signed-off-by: James Almer <jamrial at gmail.com>
---
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),
};
--
2.16.2
More information about the ffmpeg-devel
mailing list