mpeg2: fix end-of-stream conditions (flush).
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 9 Oct 2012 13:34:18 +0000 (15:34 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 16 Nov 2012 15:49:15 +0000 (16:49 +0100)
commita0232d6ddc920431def95f476a592abec09182a1
tree66e028e89d827e3d8ad081e58a8376aab4a46454
parent431e3513eca7ac401c23b4bfdd81d678f1861473
mpeg2: fix end-of-stream conditions (flush).

Decode pending data in the adapter prior to processing the actual
code for end-of-stream. Initial code from Feng Yuan.
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c