h264: fix interlaced stream decoding with MMCO.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 Nov 2012 09:27:12 +0000 (10:27 +0100)
committerWind Yuan <feng.yuan@intel.com>
Fri, 16 Nov 2012 07:03:33 +0000 (15:03 +0800)
commit33174b74cddfac0449d724dfebf4bce9884b29ab
tree8083fd69086fb4ec48609b598ab977e12e459411
parentfa74a184188fe0e843a4c0c7ad20582c64cdd871
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