Skip to content

nvenc: Fix for nvidia library leak

This is reverting the commit 01a402e4 in order to avoid call NvEncInitializeEncoder multiple times per one encoder session.

Once initialized encoder session should be reconfigured or re-opened. Otherwise memory would leak from libnvidia-encode.so

Merge request reports

Loading