From b2e844f9747044bd0ea80f99e1453f23f1baed5d Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Thu, 27 Mar 2025 11:29:02 +0900 Subject: [PATCH] h264parser: Adjust NAL unit size for SEQ_END and STREAM_END nal types - When dummy data is included in SEQ_END or STREAM_END NAL types, errors occur during parsing operations for the remaining dummy data. [Version] 1.24.11-9 [Issue Type] Fix bugs Change-Id: Iba33d6f4db7028b80afafb72be69f66e1f1e7a37 --- packaging/gstreamer.spec | 2 +- .../gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/gstreamer.spec b/packaging/gstreamer.spec index d866aa51d9..4b94e41065 100644 --- a/packaging/gstreamer.spec +++ b/packaging/gstreamer.spec @@ -60,7 +60,7 @@ Name: %{_name} Version: 1.24.11 -Release: 8 +Release: 9 Summary: Streaming-Media Framework Runtime License: LGPL-2.0+ Group: Multimedia/Framework diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c index 864393cd44..452eaaffe6 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c @@ -1512,7 +1512,9 @@ gst_h264_parser_identify_nalu_unchecked (GstH264NalParser * nalparser, if (nalu->type == GST_H264_NAL_SEQ_END || nalu->type == GST_H264_NAL_STREAM_END) { GST_DEBUG ("end-of-seq or end-of-stream nal found"); +#ifndef TIZEN_FEATURE_H264PARSE_MODIFICATION nalu->size = 1; +#endif return GST_H264_PARSER_OK; } -- 2.34.1