decoder: h264: fix detection of top-field-first (TFF) flag.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 13 Nov 2014 14:00:21 +0000 (15:00 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 14 Nov 2014 09:11:41 +0000 (10:11 +0100)
commit415d5df7ee716fc5d8b652b359dc16187ab0e905
treedfec5a5b734b7c87cf5b30aaab1b85a520df5f48
parentc4f42114b41bd5ae78b79d529fc617e2906e4a96
decoder: h264: fix detection of top-field-first (TFF) flag.

Use the SEI pic_timing() message to track the pic_struct variable when
present, or infer it from the regular slice header flags field_pic_flag
and bottom_field_flag. This fixes temporal sequence ordering when the
output pictures are to be displayed.

https://bugzilla.gnome.org/show_bug.cgi?id=739291
gst-libs/gst/vaapi/gstvaapidecoder_h264.c