cuda: Add workaround for gir build

ERROR:../girepository/girparser.c:343:state_switch:
  assertion failed: (ctx->state != newstate)
Bail out! ERROR:../girepository/girparser.c:343:state_switch:
  assertion failed: (ctx->state != newstate)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4510>
This commit is contained in:
Seungha Yang 2023-08-13 00:31:50 +09:00 committed by GStreamer Marge Bot
parent 7b6023d9cf
commit dc2fd997a2

View file

@ -268,19 +268,21 @@ typedef struct
int id;
} CUmemLocation;
typedef struct
{
unsigned char compressionType;
unsigned char gpuDirectRDMACapable;
unsigned short usage;
unsigned char reserved[4];
} CUmemAllocationPropAllocFlags;
typedef struct
{
CUmemAllocationType type;
CUmemAllocationHandleType requestedHandleTypes;
CUmemLocation location;
void *win32HandleMetaData;
struct
{
unsigned char compressionType;
unsigned char gpuDirectRDMACapable;
unsigned short usage;
unsigned char reserved[4];
} allocFlags;
CUmemAllocationPropAllocFlags allocFlags;
} CUmemAllocationProp;
typedef struct