codecparser: h265: Fix nal size calculation for EOS and EOB

https://bugzilla.gnome.org/show_bug.cgi?id=747613
This commit is contained in:
Sreerenj Balachandran 2015-04-10 13:59:50 +03:00 committed by Sebastian Dröge
parent e7aa25ca6f
commit 889cc8ee31

View file

@ -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;
}