nvenc: make gpu indices independent of supported capabilities
authorTimo Rothenpieler <timo@rothenpieler.org>
Tue, 7 Feb 2017 02:04:39 +0000 (18:04 -0800)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 9 Feb 2017 22:29:32 +0000 (23:29 +0100)
commita52976c0feab6e86138983c248bd01fa45cdda69
tree9fed57bd647c435c3027f9300df4a8a46c5ecfe9
parent77c23704c769168e4210956314775a1931f6aa0b
nvenc: make gpu indices independent of supported capabilities

Do not allocate a CUDA context for every available gpu.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/nvenc.c