avcodec/cuvid: Fully re-initialize the parser after a flush.
authorPhilip Langdale <philipl@overt.org>
Thu, 15 Sep 2016 02:56:07 +0000 (19:56 -0700)
committerTimo Rothenpieler <timo@rothenpieler.org>
Sat, 17 Sep 2016 12:08:53 +0000 (14:08 +0200)
commit8a066697023e3eab3fc6c2bccc5bd0adb07f4579
treefb3b5bc449fb0b321e1cf7bb99f2482532cca8a1
parent4096bb176b3971a26d1dedd62a05bcea68eb24d6
avcodec/cuvid: Fully re-initialize the parser after a flush.

I'm not really sure how this worked at all before, but we do need to
reinitalize the parser with the stream extradata.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
libavcodec/cuvid.c