vaapidecode: parse source data until a frame is obtained.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Jun 2014 11:47:36 +0000 (13:47 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Jun 2014 11:47:36 +0000 (13:47 +0200)
commitabfb5dd06cc7cdfa920707fc8f5553f81014e5e3
tree12ea3771e436455634e4c354596fb4f5c27451ca
parent781abad2c7730bddc4ccc2b4fc837d42c2881248
vaapidecode: parse source data until a frame is obtained.

Parse any pending data until a complete frame is obtained. This is a
memory optimization to avoid expansion of video packets stuffed into
the GstAdapter, and a fix to EOS condition to detect there is actually
pending data that needs to be decoded, and subsequently output.

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