mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
cuda: Correct CUDA device id field in GstContext structure
device id is unsigned int, not signed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2311>
This commit is contained in:
parent
7466444b63
commit
9cd6f9d51e
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ context_set_cuda_context (GstContext * context, GstCudaContext * cuda_ctx)
|
|||
|
||||
s = gst_context_writable_structure (context);
|
||||
gst_structure_set (s, GST_CUDA_CONTEXT_TYPE, GST_TYPE_CUDA_CONTEXT,
|
||||
cuda_ctx, "cuda-device-id", G_TYPE_INT, device_id, NULL);
|
||||
cuda_ctx, "cuda-device-id", G_TYPE_UINT, device_id, NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue