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

James Almer jamrial at gmail.com
Thu Mar 22 16:48:45 EET 2018


On 3/22/2018 6:41 AM, wm4 wrote:
> On Thu, 22 Mar 2018 01:41:11 -0300
> James Almer <jamrial at gmail.com> wrote:
> 
>> 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),
>>  };
> 
> LGTM. Apparently I missed this.

Pushed, thanks.


More information about the ffmpeg-devel mailing list