nvenc: Ensure unmap resources before finalizing them
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 26 Mar 2019 11:24:22 +0000 (20:24 +0900)
committerMatthew Waters <matthew@centricular.com>
Tue, 26 Mar 2019 11:54:16 +0000 (11:54 +0000)
commitd0f2f262aa5e914339cfb346f6ff1254306e98e2
treee79c204ab9d4f8e9458014131dbc09ee0ee7acb2
parent54982527509d23f36827181a59275547a811559f
nvenc: Ensure unmap resources before finalizing them

Mapped resource via NvEncMapInputResource() will result to unregister fail.
It can happen when paused to ready state change without EOS event.
sys/nvenc/gstnvbaseenc.c