codecparsers: h264: fix slice_header() parsing for MVC.
authorLi Xiaowei <xiaowei.a.li@intel.com>
Fri, 8 Mar 2013 01:57:22 +0000 (09:57 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 25 Mar 2014 14:56:10 +0000 (15:56 +0100)
commit7e76a48f046d6ea1c6b6a242d855cf0fce042e9d
treef92fee86766fab5f872cd48ce6921502d1ca12ed
parentcaf46d884a15470ae855751a8674bace01f0f450
codecparsers: h264: fix slice_header() parsing for MVC.

The idr_pic_id syntax element depends on IdrPicFlag, which is a calculated
value that does not only depend on NAL unit type (IDR), but possibly also
on MVC non_idr_flag syntax element.

The computed idr_pic_flag is already stored in GstH264NalUnit structure.

https://bugzilla.gnome.org/show_bug.cgi?id=721772

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gsth264parser.c