mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
pngparse: fix a GstCaps object leak
https://bugzilla.gnome.org//show_bug.cgi?id=752127
This commit is contained in:
parent
f0358aac16
commit
649e76575d
1 changed files with 2 additions and 0 deletions
|
@ -221,6 +221,8 @@ gst_png_parse_handle_frame (GstBaseParse * parse,
|
|||
} else {
|
||||
GST_WARNING_OBJECT (pngparse, "No framerate set");
|
||||
}
|
||||
|
||||
gst_caps_unref (sink_caps);
|
||||
}
|
||||
|
||||
if (!gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps))
|
||||
|
|
Loading…
Reference in a new issue