cudacontext: Require explicit gpu id instead of auto (-1)
authorSeungha Yang <seungha@centricular.com>
Wed, 2 Mar 2022 17:48:17 +0000 (02:48 +0900)
committerSeungha Yang <seungha@centricular.com>
Sun, 6 Mar 2022 15:39:04 +0000 (15:39 +0000)
commitc8a1c953d8c6766f213469d148b4792162b813da
tree4cf352bd224a13a71837a4945b50566693435115
parent1b9274307a2ef72915fb96f2b0c19b752018286f
cudacontext: Require explicit gpu id instead of auto (-1)

Sync up with GstD3D11Device implementation. The auto stuff should
be handled in context sharing step, not device creation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1834>
subprojects/gst-plugins-bad/sys/nvcodec/gstcudacontext.c
subprojects/gst-plugins-bad/sys/nvcodec/gstcudacontext.h
subprojects/gst-plugins-bad/sys/nvcodec/gstcudautils.c