mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
h265parse: parse unregistered SEI without user data
Same change as in h264parse. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7931>
This commit is contained in:
parent
082a8fcd5e
commit
bfda0f4858
2 changed files with 0 additions and 9 deletions
|
@ -1265,12 +1265,6 @@ gst_h265_parser_parse_user_data_unregistered (GstH265Parser * parser,
|
||||||
READ_UINT8 (nr, data[i], 8);
|
READ_UINT8 (nr, data[i], 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (payload_size < 1) {
|
|
||||||
GST_WARNING ("No more remaining payload data to store");
|
|
||||||
g_clear_pointer (&data, g_free);
|
|
||||||
return GST_H265_PARSER_BROKEN_DATA;
|
|
||||||
}
|
|
||||||
|
|
||||||
urud->data = data;
|
urud->data = data;
|
||||||
GST_MEMDUMP ("SEI user data unregistered", data, payload_size);
|
GST_MEMDUMP ("SEI user data unregistered", data, payload_size);
|
||||||
return GST_H265_PARSER_OK;
|
return GST_H265_PARSER_OK;
|
||||||
|
|
|
@ -728,9 +728,6 @@ gst_h265_parse_process_sei_user_data_unregistered (GstH265Parse * h265parse,
|
||||||
{
|
{
|
||||||
GstByteReader br;
|
GstByteReader br;
|
||||||
|
|
||||||
if (urud->data == NULL || urud->size < 1)
|
|
||||||
return;
|
|
||||||
|
|
||||||
gst_byte_reader_init (&br, urud->data, urud->size);
|
gst_byte_reader_init (&br, urud->data, urud->size);
|
||||||
|
|
||||||
gst_video_parse_user_data_unregistered ((GstElement *) h265parse,
|
gst_video_parse_user_data_unregistered ((GstElement *) h265parse,
|
||||||
|
|
Loading…
Reference in a new issue