mpeg2: fix decoding of sequence_end().
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 30 Jan 2013 17:54:13 +0000 (18:54 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 30 Jan 2013 18:19:47 +0000 (19:19 +0100)
commit564ca5d2213d21e439f08867cfa40684963d513b
tree84cb1aae3442457fddc20505b15a6c3ac567c1f6
parent23b2386fd0df6f16166f9e6855950da4e0adfef6
mpeg2: fix decoding of sequence_end().

There shall be only one place to call decode_current_picture(), and this
is in the end_frame() hook. The EOS unit is processed after end_frame()
so this means we cannot have a valid picture to decode/output at this
point.
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c