mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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.
This commit is contained in:
parent
b2f9c0f289
commit
a6e3e71fe3
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue