On Wed, 7 Jun 2017 08:59:24 +0200
Steve Lhomme <rob...@gmail.com> wrote:

> On Tue, Jun 6, 2017 at 6:51 PM, wm4 <nfx...@googlemail.com> wrote:

> > +static int d3d11va_device_create(AVHWDeviceContext *ctx, const char 
> > *device,
> > +                                 AVDictionary *opts, int flags)
> > +{
> > +    AVD3D11VADeviceContext *device_hwctx = ctx->hwctx;
> > +    HANDLE d3dlib;
> > +
> > +    HRESULT hr;
> > +    PFN_D3D11_CREATE_DEVICE createD3D;
> > +    IDXGIAdapter           *pAdapter = NULL;
> > +    ID3D10Multithread      *pMultithread;
> > +    UINT creationFlags = D3D11_CREATE_DEVICE_VIDEO_SUPPORT;  
> 
> It may be nice to be able to load d3d11_1sdklayers.dll optionally to
> debug leaks and have more debug messages when error occurs. Probably
> using a value in flags.

Yes, that could be added later, if that's fine. I'm also not sure how
to load the DLL, or rather what to do with it once it's loaded.
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to