mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
h265parse: Fix and optimize NAL collection function
Adopt h264parse's _collect_nal() behavior.
See also commit 5601c87
and https://bugzilla.gnome.org/show_bug.cgi?id=732154
https://bugzilla.gnome.org/show_bug.cgi?id=754124
This commit is contained in:
parent
2bd883621f
commit
ad7cf957fb
1 changed files with 3 additions and 3 deletions
|
@ -686,10 +686,10 @@ gst_h265_parse_collect_nal (GstH265Parse * h265parse, const guint8 * data,
|
|||
GstH265NalUnit nnalu;
|
||||
|
||||
GST_DEBUG_OBJECT (h265parse, "parsing collected nal");
|
||||
parse_res = gst_h265_parser_identify_nalu (h265parse->nalparser, data,
|
||||
nalu->offset + nalu->size, size, &nnalu);
|
||||
parse_res = gst_h265_parser_identify_nalu_unchecked (h265parse->nalparser,
|
||||
data, nalu->offset + nalu->size, size, &nnalu);
|
||||
|
||||
if (parse_res == GST_H265_PARSER_ERROR)
|
||||
if (parse_res != GST_H265_PARSER_OK)
|
||||
return FALSE;
|
||||
|
||||
/* determine if AU complete */
|
||||
|
|
Loading…
Reference in a new issue