mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 13:38:48 +00:00
adaptivedemux2-stream: Use gst_clear_object when releasing collection
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5606>
This commit is contained in:
parent
d159cc624a
commit
1fc2bd8032
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ gst_adaptive_demux2_stream_finalize (GObject * object)
|
|||
gst_caps_unref (stream->pending_caps);
|
||||
|
||||
gst_clear_tag_list (&stream->pending_tags);
|
||||
g_clear_pointer (&stream->stream_collection, gst_object_unref);
|
||||
gst_clear_object (&stream->stream_collection);
|
||||
|
||||
g_mutex_clear (&stream->prepare_lock);
|
||||
g_cond_clear (&stream->prepare_cond);
|
||||
|
|
Loading…
Reference in a new issue