[FFmpeg-devel] [PATCH] d3d11va: use the proper slice index

Hendrik Leppkes h.leppkes at gmail.com
Mon Oct 10 18:07:06 EEST 2016

On Mon, Oct 10, 2016 at 4:01 PM, Michael Niedermayer
<michael at niedermayer.cc> wrote:
> On Mon, Oct 10, 2016 at 11:48:20AM +0200, Steve Lhomme wrote:
>> Any comment on this ? We are waiting or this patch to proceed with the
>> related patch in VLC (because we need to rely on the proper revision).
>> It's been merged in libav with a slightly different commit text:
>> The decoding buffer index expected by D3D11VA is the one from the
>> ID3D11Texture2D not the one from the ID3D11VideoDecoderOutputView array
>> in AVD3D11VAContext.
>> Otherwise, when providing decoder slices that do not start from 0,
>> pictures appear in bogus order. For an invalid index crashes and
>> image corruption can occur.
> applied
> maybe our dxva2 maintainer wants a co maintainer?
> if so would someone be interrested to help ?

Unfortunately I have no way of testing the D3D11 stuff in there (and I
honestly wasn't a big fan of hacking it in like that in the first
place), so unless someone contributes ffmpeg_d3d11.c and
avutil/hwcontext_d3d11.c, there isn't much about a testing setup to
confirm whatever assumptions are made in the code.

- Hendrik

More information about the ffmpeg-devel mailing list