mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
imagefreeze: Unref pad template caps after usage
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734475
This commit is contained in:
parent
edf8728016
commit
c85ae43a6e
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ gst_image_freeze_sink_setcaps (GstImageFreeze * self, GstCaps * caps)
|
|||
GST_DEBUG_OBJECT (pad, "with: %" GST_PTR_FORMAT, othercaps);
|
||||
GST_DEBUG_OBJECT (pad, "gave: %" GST_PTR_FORMAT, intersection);
|
||||
gst_caps_unref (caps);
|
||||
gst_caps_unref (othercaps);
|
||||
caps = intersection;
|
||||
intersection = othercaps = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue