aacparser: Revert 'Add codec_data in caps, even if stream-format is adts' 55/314555/1 accepted/tizen/7.0/unified/20240717.120953
authorGilbok Lee <gilbok.lee@samsung.com>
Mon, 15 Jul 2024 07:25:16 +0000 (16:25 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Mon, 15 Jul 2024 07:31:03 +0000 (16:31 +0900)
- revert 0cee0329b1e88a86fd63dd032f43f923da898abc commit in
gst-plugins-good
- When decoding 8-channel ADTS contents in avdec, an error occurs.

Change-Id: I14ec9dbc2f816ec415bcca1eb0fd5934de09358b

packaging/gstreamer.spec
subprojects/gst-plugins-good/gst/audioparsers/gstaacparse.c

index f2756249258f99eee6b0be0330bf40010dea61c9..190a7f1624685f053235ff8dca28f48b159c35eb 100644 (file)
@@ -62,7 +62,7 @@
 
 Name:           %{_name}
 Version:        1.20.0
-Release:        59
+Release:        60
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index 1fb5cb0fb0474ea2998cee08455ab04d9f50356f..16cb828f4e46a5d1188e92a29a876e2a7b8724f6 100644 (file)
@@ -266,19 +266,6 @@ gst_aac_parse_set_src_caps (GstAacParse * aacparse, GstCaps * sink_caps)
   if (stream_format)
     gst_structure_set (s, "stream-format", G_TYPE_STRING, stream_format, NULL);
 
-#ifdef TIZEN_FEATURE_AACPARSE_MODIFICATION
-  if (!gst_structure_get_value (s, "codec_data")) {
-    GstBuffer *codec_data_buffer;
-    GST_WARNING("Insert codec_data to src_caps");
-    /* The codec_data data is according to AudioSpecificConfig,
-       ISO/IEC 14496-3, 1.6.2.1 */
-    codec_data_buffer = gst_buffer_new_and_alloc (2);
-    gst_buffer_fill (codec_data_buffer, 0, codec_data, 2);
-    gst_caps_set_simple (src_caps, "codec_data", GST_TYPE_BUFFER, codec_data_buffer, NULL);
-    gst_buffer_unref (codec_data_buffer);
-  }
-#endif
-
   peercaps = gst_pad_peer_query_caps (GST_BASE_PARSE_SRC_PAD (aacparse), NULL);
   if (peercaps && !gst_caps_can_intersect (src_caps, peercaps)) {
     GST_DEBUG_OBJECT (GST_BASE_PARSE (aacparse)->srcpad,