imagesequencesrc: Don't leak caps

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3597>
This commit is contained in:
Edward Hervey 2022-11-14 13:53:02 +01:00 committed by GStreamer Marge Bot
parent e7505ed8b1
commit ec2f30c4db

View file

@ -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 */