nvdec: Re-negotiate whenever output format is changed
authorSeungha Yang <seungha.yang@navercorp.com>
Fri, 9 Aug 2019 09:47:14 +0000 (18:47 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Thu, 29 Aug 2019 16:36:41 +0000 (01:36 +0900)
commit39f800c44970732f5dc9cad4a6ebc0f8a8a0e6f9
treeaa45a655971b9dcac6b2a5eaae478419765e95af
parenta572bddd2fa332070b04a8ae9048fd91641e2921
nvdec: Re-negotiate whenever output format is changed

Input stream might be silently changed without ::set_format() call.
Since nvdec has internal parser, nvdec element can figure out the format change
by itself.
sys/nvcodec/gstnvdec.c
sys/nvcodec/gstnvdec.h