mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
codecparser: h265: Fix nal size calculation for EOS and EOB
https://bugzilla.gnome.org/show_bug.cgi?id=747613
This commit is contained in:
parent
e7aa25ca6f
commit
889cc8ee31
1 changed files with 1 additions and 1 deletions
|
@ -1222,7 +1222,7 @@ gst_h265_parser_identify_nalu_unchecked (GstH265Parser * parser,
|
||||||
|
|
||||||
if (nalu->type == GST_H265_NAL_EOS || nalu->type == GST_H265_NAL_EOB) {
|
if (nalu->type == GST_H265_NAL_EOS || nalu->type == GST_H265_NAL_EOB) {
|
||||||
GST_DEBUG ("end-of-seq or end-of-stream nal found");
|
GST_DEBUG ("end-of-seq or end-of-stream nal found");
|
||||||
nalu->size = 0;
|
nalu->size = 2;
|
||||||
return GST_H265_PARSER_OK;
|
return GST_H265_PARSER_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue