imagesequencesrc: Don't leak caps

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3428>
This commit is contained in:
Edward Hervey 2022-11-14 13:53:02 +01:00 committed by Edward Hervey
parent 5a08b22026
commit 845dcf7ec5

View file

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