mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gdppay: plug buffer leak
This commit is contained in:
parent
07f8c2a4e6
commit
712c63af44
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue