h264: fix interlaced stream decoding with MMCO.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 Nov 2012 09:27:12 +0000 (10:27 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 Nov 2012 16:53:57 +0000 (17:53 +0100)
commitf196605fc81ca928e446876d4e5ec93881f430cf
tree84f31c1347b5da1f7cc683890a176fd4ab9340c3
parent2c13b17cdb794104f7c3f156f77c5f075d1df403
h264: fix interlaced stream decoding with MMCO.

Fix decoding of interlaced streams when adaptive_ref_pic_marking_mode_flag
is equal to 1, i.e. when memory management control operations are used. In
particular, when field_pic_flag is set to 0, the new reference flags shall
be applied to both fields.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c