avcodec/nvenc: refcount input frame mappings

If some logic like vsync in ffmpeg.c duplicates frames, it might pass
the same frame twice, which will result in a crash due it being
effectively mapped and unmapped twice.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
pull/277/head
Timo Rothenpieler 7 years ago
parent a026a3efae
commit bbe1b21022
Loading…
Cancel
Save