mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 13:32:16 +00:00
hwdec: fix 2 comments
The first is outdated, the second was always wrong.
This commit is contained in:
parent
25a4d10c8e
commit
2a04906063
@ -43,12 +43,11 @@ struct mp_hwdec_ctx {
|
|||||||
// HWDEC_VAAPI: struct mp_vaapi_ctx*
|
// HWDEC_VAAPI: struct mp_vaapi_ctx*
|
||||||
// HWDEC_D3D11VA: ID3D11Device*
|
// HWDEC_D3D11VA: ID3D11Device*
|
||||||
// HWDEC_DXVA2: IDirect3DDevice9*
|
// HWDEC_DXVA2: IDirect3DDevice9*
|
||||||
// HWDEC_DXVA2_COPY: IDirect3DDevice9*
|
|
||||||
// HWDEC_CUDA: CUcontext*
|
// HWDEC_CUDA: CUcontext*
|
||||||
void *ctx;
|
void *ctx;
|
||||||
|
|
||||||
// libavutil-wrapped context, if available.
|
// libavutil-wrapped context, if available.
|
||||||
struct AVBufferRef *av_device_ref; // AVVAAPIDeviceContext*
|
struct AVBufferRef *av_device_ref; // AVHWDeviceContext*
|
||||||
|
|
||||||
// List of IMGFMT_s, terminated with 0. NULL if N/A.
|
// List of IMGFMT_s, terminated with 0. NULL if N/A.
|
||||||
int *supported_formats;
|
int *supported_formats;
|
||||||
|
Loading…
Reference in New Issue
Block a user