pngparse: fix a GstCaps object leak
https://bugzilla.gnome.org//show_bug.cgi?id=752127
This commit is contained in:
parent
f0358aac16
commit
649e76575d
@ -221,6 +221,8 @@ gst_png_parse_handle_frame (GstBaseParse * parse,
|
|||||||
} else {
|
} else {
|
||||||
GST_WARNING_OBJECT (pngparse, "No framerate set");
|
GST_WARNING_OBJECT (pngparse, "No framerate set");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_caps_unref (sink_caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps))
|
if (!gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user