mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
codecparsers: h264: add inferred value for slice_beta_offset_div2.
The standard specifies that when slice_beta_offset_div2 is not present in the slice header, then the value of slice_beta_offset_div2 shall be inferred to be equal to 0. https://bugzilla.gnome.org/show_bug.cgi?id=692265 Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
8d837cbac4
commit
56e2405a35
1 changed files with 1 additions and 0 deletions
|
@ -1815,6 +1815,7 @@ gst_h264_parser_parse_slice_hdr (GstH264NalParser * nalparser,
|
|||
slice->num_ref_idx_l1_active_minus1 = pps->num_ref_idx_l1_active_minus1;
|
||||
slice->disable_deblocking_filter_idc = 0;
|
||||
slice->slice_alpha_c0_offset_div2 = 0;
|
||||
slice->slice_beta_offset_div2 = 0;
|
||||
|
||||
if (sps->separate_colour_plane_flag)
|
||||
READ_UINT8 (&nr, slice->colour_plane_id, 2);
|
||||
|
|
Loading…
Reference in a new issue