mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
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:
parent
7b6023d9cf
commit
dc2fd997a2
1 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue