Created by: Snawoot
Deeper analysis of libnvidia-encode internals revealed invokation of libnvcuvid functions for purpose of checking number of running encoders.
Current patch circumvents result check of this function inside nvEncOpenEncodeSessionEx function body. Probably, most proper way is to patch function which does immediate check of running encoders, and this patch supposed to do this. This patch works as well as one which patched libnvidia-encode.so
, but "fixes" decision in right place.