vaapidecode: refactor gst_vaapidecode_destroy()
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 20 Apr 2015 11:27:27 +0000 (13:27 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 20 Apr 2015 12:05:47 +0000 (14:05 +0200)
commitdbc8f3f25f7893cc943dd2efcf39141b75fdd989
tree71342a4e606f34029aad485c9c617d7ef3bf8625
parent11c963a3c1e3d0b21e0867a83faadcc6076fca2d
vaapidecode: refactor gst_vaapidecode_destroy()

Add the method gst_vaapidecode_purge(). This method releases the
flushed frames from the decoder.

This new method add more readablity to gst_vaapidecode_destroy()
gst/vaapi/gstvaapidecode.c