mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
parent
b23e6bfa70
commit
248a1c86e0
1 changed files with 4 additions and 0 deletions
|
@ -1091,6 +1091,7 @@ gst_h264_parser_parse_pic_timing (GstH264NalParser * nalparser,
|
||||||
guint8 num_clock_num_ts;
|
guint8 num_clock_num_ts;
|
||||||
guint i;
|
guint i;
|
||||||
|
|
||||||
|
tim->pic_struct_present_flag = TRUE;
|
||||||
READ_UINT8 (nr, tim->pic_struct, 4);
|
READ_UINT8 (nr, tim->pic_struct, 4);
|
||||||
CHECK_ALLOWED ((gint8) tim->pic_struct, 0, 8);
|
CHECK_ALLOWED ((gint8) tim->pic_struct, 0, 8);
|
||||||
|
|
||||||
|
@ -1907,6 +1908,9 @@ gst_h264_parser_parse_sei (GstH264NalParser * nalparser, GstH264NalUnit * nalu,
|
||||||
|
|
||||||
nal_reader_init (&nr, nalu->data + nalu->offset + 1, nalu->size - 1);
|
nal_reader_init (&nr, nalu->data + nalu->offset + 1, nalu->size - 1);
|
||||||
|
|
||||||
|
/* init */
|
||||||
|
memset (sei, 0, sizeof (*sei));
|
||||||
|
|
||||||
sei->payloadType = 0;
|
sei->payloadType = 0;
|
||||||
do {
|
do {
|
||||||
READ_UINT8 (&nr, payload_type_byte, 8);
|
READ_UINT8 (&nr, payload_type_byte, 8);
|
||||||
|
|
Loading…
Reference in a new issue