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>
Tue, 9 Oct 2012 16:08:50 +0000 (18:08 +0200)
commitdc03ca91008ef92465a2b099c976b6775f78f6f2
tree1b97882e6adf997c870454550a53df1a45ed29ab
parent91da4fcb18dc83e8e03caf8905a5ee09c564444b
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