h264parser: Adjust NAL unit size for SEQ_END and STREAM_END nal types 21/321721/1 tizen_9.0
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 27 Mar 2025 02:29:02 +0000 (11:29 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Thu, 27 Mar 2025 08:27:39 +0000 (17:27 +0900)
- 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.22.8-18
[Issue Type] Fix bugs

Change-Id: Iba33d6f4db7028b80afafb72be69f66e1f1e7a37

packaging/gstreamer.spec
subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264parser.c

index efad099e1dedff27e0f5aea74d25e6dbb84f7178..7c440284e5f4f137905d0dfa9530054cb41b457b 100644 (file)
@@ -62,7 +62,7 @@
 
 Name:           %{_name}
 Version:        1.22.8
-Release:        17
+Release:        18
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index 349d6d23b3a93c533cfdaa0cb9093bb5d19e9465..792291c695c272c0c78f1cee8374ef4f037d2924 100644 (file)
@@ -1517,7 +1517,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;
   }