Release the reference on the collection which was given to us when extracting it
from the event/message.
Change-Id: If586c8a815383a590c0a05c4c4762f1bf55263c6
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>
Name: %{_name}
Version: 1.20.0
-Release: 56
+Release: 57
Summary: Streaming-Media Framework Runtime
License: LGPL-2.0+
Group: Multimedia/Framework
GstStreamCollection *collection = NULL;
gst_event_parse_stream_collection (event, &collection);
gst_parse_pad_update_stream_collection (ppad, collection);
+ gst_object_unref (collection);
break;
}
default:
gst_element_post_message (GST_ELEMENT (parsepad->parsebin),
gst_message_new_stream_collection (GST_OBJECT (parsepad->parsebin),
collection));
+ gst_object_unref (collection);
break;
}
case GST_EVENT_EOS:{