nvdec: Create CUDA context with registered device id
authorSeungha Yang <seungha.yang@navercorp.com>
Sun, 21 Jul 2019 12:23:30 +0000 (21:23 +0900)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 22 Jul 2019 17:39:45 +0000 (17:39 +0000)
commit0239152bca152fee69e2b21c1db14f4b1fc527dc
tree73c13f599d1e2f1118b877c19e9e1163f7f3010c
parent1df2f13d0c789a86c205cf516a81d03ade46db28
nvdec: Create CUDA context with registered device id

Only the default device has been used by NVDEC so far.
This commit make it possible to use registered device id.
To simplify device id selection, GstNvDecCudaContext usage is removed.
sys/nvcodec/gstnvdec.c
sys/nvcodec/gstnvdec.h