Skip to content

nvdec: rework the function loading/cuInit

Steve Lhomme requested to merge robUx4/vlc:cuda-init-once into master

With vlc_once() we will only ever call cuInit() once in the process. If it fails it will never be tried again even though it might work.

Only load the DLL and load functions once while we're at it.

Merge request reports

Loading