mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
imagesequencesrc: Don't leak caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3597>
This commit is contained in:
parent
e7505ed8b1
commit
ec2f30c4db
1 changed files with 2 additions and 0 deletions
|
@ -529,6 +529,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