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
@ -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_pad_set_caps (GST_BASE_SRC_PAD (self), new_caps);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "Setting new caps: %" GST_PTR_FORMAT, new_caps);
|
GST_DEBUG_OBJECT (self, "Setting new caps: %" GST_PTR_FORMAT, new_caps);
|
||||||
|
|
||||||
|
gst_caps_unref (new_caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Call with LOCK */
|
/* Call with LOCK */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user