nvdec: Check flow return of the only current handle_frame() to fix seeking issue
authorSeungha Yang <seungha.yang@navercorp.com>
Thu, 29 Aug 2019 08:19:27 +0000 (17:19 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Fri, 30 Aug 2019 02:27:27 +0000 (11:27 +0900)
commitfa83f086be499177ebcfd63ec1aac2c0838402b7
tree1f176d7d109be0e423c77cf0849bfe2c59e7e960
parentbe3a3da829e4156850ec327e3453a5146c746953
nvdec: Check flow return of the only current handle_frame() to fix seeking issue

Due to uncleared last flow, decoding after seek was never possible
(last_ret == GST_FLOW_FLUSHING).
nvdec dose not need to keep track of the previous flow return,
and actually the interest is data/even flow of the current handle_frame().
sys/nvcodec/gstnvdec.c