mpeg2: fix decoding of multiple slices with same slice_vertical_position.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 23 Feb 2012 10:19:48 +0000 (11:19 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 23 Feb 2012 10:19:48 +0000 (11:19 +0100)
commitd47031b8cebd126d6d5f0c0f9653557430429fd3
tree1c3dca3e833fc8bdee67cb1a2a06fe657c6ee03c
parentde7432f712f9ae2f5f0b4919eee137533e60afbc
mpeg2: fix decoding of multiple slices with same slice_vertical_position.

6.3.15 says that "some slices may have the same slice_vertical_position,
since slices may start and finish anywhere". So, we can't submit the current
picture to the HW right away since subsequent slices would be missing.
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c