Commit a6e3e71f authored by Yves Lefebvre's avatar Yves Lefebvre Committed by Tim-Philipp Müller
Browse files

gst/videorate/gstvideorate.c: Don't leak caps. Fixes #408278.

Original commit message from CVS:
Patch by: Yves Lefebvre  <ivanohe abacom com>
* gst/videorate/gstvideorate.c: (gst_video_rate_setcaps):
Don't leak caps. Fixes #408278.
parent b2f9c0f2
2007-02-16 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Yves Lefebvre <ivanohe abacom com>
* gst/videorate/gstvideorate.c: (gst_video_rate_setcaps):
Don't leak caps. Fixes #408278.
2007-02-15 Stefan Kost <ensonic@users.sf.net>
* ext/cdparanoia/gstcdparanoiasrc.h:
......@@ -354,6 +354,7 @@ gst_video_rate_setcaps (GstPad * pad, GstCaps * caps)
videorate->from_rate_denominator = rate_denominator;
}
gst_pad_set_caps (otherpad, caps);
gst_caps_unref (caps);
ret = TRUE;
}
gst_object_unref (opeer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment