Commit 889cc8ee authored by Sreerenj Balachandran's avatar Sreerenj Balachandran Committed by Sebastian Dröge

codecparser: h265: Fix nal size calculation for EOS and EOB
parent e7aa25ca
......@@ -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) {
GST_DEBUG ("end-of-seq or end-of-stream nal found");
nalu->size = 0;
nalu->size = 2;
return GST_H265_PARSER_OK;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment