nvenc: Explicitly push the cuda context on encoding
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 13 Jan 2017 09:53:35 +0000 (10:53 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 17 Jan 2017 06:37:12 +0000 (07:37 +0100)
commitfb59f87ce72035b940c3f5045884098b9324e1b2
treedc0e3b0f316f05ead00cdaaa8f81388980f835a9
parent4795e4f61f993940c5384044caff56cc15078698
nvenc: Explicitly push the cuda context on encoding

Make sure that NVENC does not misbehave if other cuda usages happen
in the application.
libavcodec/nvenc.c
libavcodec/nvenc.h