h264parser: Adjust NAL unit size for SEQ_END and STREAM_END nal types 23/321723/1 accepted/tizen/7.0/unified/20250404.014108
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:30:05 +0000 (17:30 +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.20.0-62
[Issue Type] Fix bugs

Change-Id: Iba33d6f4db7028b80afafb72be69f66e1f1e7a37

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

index 8d235bb1d89cfe0b27d994d97f4218eab434d710..9681d45dbd4499f77209db07e42d4ff57e146cd6 100644 (file)
@@ -62,7 +62,7 @@
 
 Name:           %{_name}
 Version:        1.20.0
-Release:        61
+Release:        62
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index 3d912f69760128d22b3ab0b8912379aedc55769e..4a4d74f619d0f042d6c0df7ed41d1cfc72f3a0c1 100644 (file)
@@ -1471,7 +1471,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;
   }