Skip to content

nvcodec: Refactor plugin initialization

Create CUDA context per device, instead of per codec and encoder/decoder. Allocating CUDA context is heavy operation so we should reuse it as much as possible.

Fixes: #1130 (closed)

Edited by Seungha Yang

Merge request reports