mpeg2: fix slice_vertical_position calculation.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 23 Feb 2012 15:39:14 +0000 (16:39 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 23 Feb 2012 15:41:11 +0000 (16:41 +0100)
commitf1883b4a4e9a88d5f55947813dea456f2c66957c
tree5c0e3991fe706d47b2e3797a68c79fa7b08fc3dc
parent124cd8a3d39c8a597f19a57cdf0a98cb82811214
mpeg2: fix slice_vertical_position calculation.

Make sure to adjust slice_vertical_position if picture structure
is a top or bottom field.
gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c