vaapidecode: submit the last frame from output adapter to decoder.
authorGuangxin.Xu <Guangxin.Xu@intel.com>
Tue, 30 Jul 2013 06:05:39 +0000 (14:05 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 29 Aug 2013 12:47:40 +0000 (14:47 +0200)
commit111d7d4fa4b2ced74d29d70887b63f2d39cae7d3
tree6ce7f9555a254272297bdaa6f07e0d8f3348894b
parent91736b3a6032c53b05933037d6a6ddbfec3005d5
vaapidecode: submit the last frame from output adapter to decoder.

If there is no frame delimiter at the end of the stream, e.g. no
end-of-stream or end-of-sequence marker, and that the current frame
was fully parsed correctly, then assume that last frame is complete
and submit it to the decoder.

https://bugzilla.gnome.org/show_bug.cgi?id=705123

Signed-off-by: Guangxin.Xu <Guangxin.Xu@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapidecode.h