nvenc: Add support runtime resolution change freely
authorSeungha Yang <seungha.yang@navercorp.com>
Sat, 31 Aug 2019 08:34:13 +0000 (17:34 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Mon, 2 Sep 2019 01:59:03 +0000 (10:59 +0900)
commit09fd34dbb00077bdeca6ea6d8df3728a004f99b7
treec8bafc6c9621a7d0477ab44ed7c00f7483dc8e61
parent5f63f59837ad6c6644505a5f556e304b9dbd5817
nvenc: Add support runtime resolution change freely

Do not restrict allowed maximum resolution depending on the
initial resolution. If new resolution is larger than previous one,
just re-init encode session.
sys/nvcodec/gstnvbaseenc.c
sys/nvcodec/gstnvbaseenc.h