vaapidecode: make pool to export decoder's surface
authorJulien Isorce <j.isorce@samsung.com>
Wed, 19 Oct 2016 15:21:21 +0000 (16:21 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 3 Feb 2017 16:11:20 +0000 (17:11 +0100)
commit25e8309567167321b1a596235f1114bc4a9da960
tree2e418b3944cbf0da349f45a0cd66aa31a89a5a65
parent50242eaaf7a14abfa4f62308a808b9d7e7950b1d
vaapidecode: make pool to export decoder's surface

Use new -base API gst_video_decoder_allocate_output_frame_full() to
pass the current proxy/surface to the pool.

The pool will will export thins given surface instead of exporting a
brand new surface that will never be filled in with meaningfull data.

https://bugzilla.gnome.org/show_bug.cgi?id=755072
gst/vaapi/gstvaapidecode.c