Like this? Am Sa., 23. Juli 2022 um 16:18 Uhr schrieb LIU Hao <[email protected]>: > > Hi, please attach the patch as a plain text file. Thanks. > > > -- > Best regards, > LIU Hao
From b0ba8c085910d27344ccf3b20d9047b3435745b9 Mon Sep 17 00:00:00 2001 From: Oleg Tolmatcev <[email protected]> Date: Sat, 23 Jul 2022 14:58:17 +0200 Subject: [PATCH] headers: fix declarations in IDirectXVideoDecoderService
Signed-off-by: Oleg Tolmatcev <[email protected]> --- mingw-w64-headers/include/dxva2api.h | 4 ++-- mingw-w64-headers/include/dxva2api.idl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mingw-w64-headers/include/dxva2api.h b/mingw-w64-headers/include/dxva2api.h index 2c0f61f..d530f76 100644 --- a/mingw-w64-headers/include/dxva2api.h +++ b/mingw-w64-headers/include/dxva2api.h @@ -804,14 +804,14 @@ IDirectXVideoDecoderService : public IDirectXVideoAccelerationService virtual HRESULT STDMETHODCALLTYPE GetDecoderConfigurations( REFGUID guid, const DXVA2_VideoDesc *pVideoDesc, - IUnknown *pReserved, + void *pReserved, UINT *pCount, DXVA2_ConfigPictureDecode **ppConfigs) = 0; virtual HRESULT STDMETHODCALLTYPE CreateVideoDecoder( REFGUID guid, const DXVA2_VideoDesc *pVideoDesc, - DXVA2_ConfigPictureDecode *pConfig, + const DXVA2_ConfigPictureDecode *pConfig, IDirect3DSurface9 **ppDecoderRenderTargets, UINT NumSurfaces, IDirectXVideoDecoder **ppDecode) = 0; diff --git a/mingw-w64-headers/include/dxva2api.idl b/mingw-w64-headers/include/dxva2api.idl index 63de780..205491e 100644 --- a/mingw-w64-headers/include/dxva2api.idl +++ b/mingw-w64-headers/include/dxva2api.idl @@ -631,14 +631,14 @@ interface IDirectXVideoDecoderService : IDirectXVideoAccelerationService HRESULT GetDecoderConfigurations( [in] REFGUID guid, [in] const DXVA2_VideoDesc *pVideoDesc, - [in] IUnknown *pReserved, + [in] void *pReserved, [out] UINT *pCount, [out] DXVA2_ConfigPictureDecode **ppConfigs); HRESULT CreateVideoDecoder( [in] REFGUID guid, [in] const DXVA2_VideoDesc *pVideoDesc, - [in] DXVA2_ConfigPictureDecode *pConfig, + [in] const DXVA2_ConfigPictureDecode *pConfig, [in] IDirect3DSurface9 **ppDecoderRenderTargets, [in] UINT NumSurfaces, [out] IDirectXVideoDecoder **ppDecode); -- 2.37.1.windows.1
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
