From 889cc8ee31ba03f7fc2af85893e0ba166826e52c Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Fri, 10 Apr 2015 13:59:50 +0300 Subject: [PATCH] codecparser: h265: Fix nal size calculation for EOS and EOB https://bugzilla.gnome.org/show_bug.cgi?id=747613 --- gst-libs/gst/codecparsers/gsth265parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/codecparsers/gsth265parser.c b/gst-libs/gst/codecparsers/gsth265parser.c index 083b278551..2f5c0197e3 100644 --- a/gst-libs/gst/codecparsers/gsth265parser.c +++ b/gst-libs/gst/codecparsers/gsth265parser.c @@ -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; }