mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
imagesequencesrc: Don't leak caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3428>
This commit is contained in:
parent
5a08b22026
commit
845dcf7ec5
1 changed files with 2 additions and 0 deletions
|
@ -531,6 +531,8 @@ gst_image_sequence_src_set_caps (GstImageSequenceSrc * self, GstCaps * caps)
|
|||
gst_pad_set_caps (GST_BASE_SRC_PAD (self), new_caps);
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Setting new caps: %" GST_PTR_FORMAT, new_caps);
|
||||
|
||||
gst_caps_unref (new_caps);
|
||||
}
|
||||
|
||||
/* Call with LOCK */
|
||||
|
|
Loading…
Reference in a new issue