projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f8c2a
)
gdppay: plug buffer leak
author
Mark Nauwelaerts
<mark.nauwelaerts@collabora.co.uk>
Wed, 25 Apr 2012 16:07:21 +0000
(18:07 +0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Tue, 11 Sep 2012 00:54:46 +0000
(
01:54
+0100)
gst/gdp/gstgdppay.c
patch
|
blob
|
history
diff --git
a/gst/gdp/gstgdppay.c
b/gst/gdp/gstgdppay.c
index 53f0611a7eeeac3437a8e9f72f6b5d94d2757fd0..d26c0a3cfecdf72ddba0b9ee9a8dd36e7cbded82 100644
(file)
--- a/
gst/gdp/gstgdppay.c
+++ b/
gst/gdp/gstgdppay.c
@@
-678,6
+678,7
@@
gst_gdp_pay_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
gst_event_parse_caps (event, &caps);
if (this->caps == NULL || !gst_caps_is_equal (this->caps, caps)) {
GST_INFO_OBJECT (pad, "caps changed to %" GST_PTR_FORMAT, caps);
+ gst_buffer_replace (&outbuffer, NULL);
gst_caps_replace (&this->caps, caps);
outbuffer = gst_gdp_buffer_from_caps (this, caps);
if (outbuffer == NULL)