h264 decoder: Implement reset() for faster flush
authorJan Schmidt <jan@centricular.com>
Fri, 7 Apr 2017 15:21:23 +0000 (01:21 +1000)
committerJan Schmidt <jan@centricular.com>
Wed, 12 Apr 2017 00:43:49 +0000 (10:43 +1000)
commitbae56fe0c2ca8212e5c3c8e5312e8b95d22c7b41
tree999aabef1d7a7ea99a6f35fd2b5081062f4a566a
parenta7a9b33ad9a8aa4366f33b2284638142ac5a9298
h264 decoder: Implement reset() for faster flush

Implement a custom reset() function for faster flushes
that just clear the reference pictures but don't reallocate
the DPB or clear out SPS/PPS

https://bugzilla.gnome.org/show_bug.cgi?id=781142
gst-libs/gst/vaapi/gstvaapidecoder_h264.c