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)) {
GstCaps *convcaps = gst_caps_copy (src_caps);