diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2019-04-24 19:00:25 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2019-04-27 12:33:08 +0200 |
commit | 23ed147e8fc2b6b51a88af66b40f99049e5fa0d8 (patch) | |
tree | 0d8b4c5be70cf4ba6f1b2396035c9a2d7628d408 /libavcodec/opusdsp.h | |
parent | d6489ddb7a6cdfb6bd4e5b8095d765e0ba1aba4a (diff) | |
download | ffmpeg-23ed147e8fc2b6b51a88af66b40f99049e5fa0d8.tar.gz |
avcodec/nvenc: only unregister input resources when absolutely needed
This reverts nvenc to old behaviour, which in some super rare edge cases
performs better.
The implication of this is that any potential API user who relies on
nvenc cleaning up every frames device resources after it's done using
them will have to change their usage pattern.
That should not be a problem, since pretty much every normal usage
pattern automatically implies that surfaces are reused from a common
pool, since constant re-allocation is also very expensive.
Diffstat (limited to 'libavcodec/opusdsp.h')
0 files changed, 0 insertions, 0 deletions