Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian 8.4 sgtreamer plugin memory leak

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
arusev
Posts: 1
Joined: 2016-08-04 12:08

Debian 8.4 sgtreamer plugin memory leak

#1 Post by arusev »

Hello all.

Debian 8.4 sgtreamer 1.4.4 plugin "rtmpvdepay" (gstreamer plugins-good packege) is leaking memory because.
The particular fix is available in gstreamer git repository.


May be an update for this package is needed for Debuian releases 8.4/8.5 ?
Could one expect gstreamer update will be released in Debian repository?


https://cgit.freedesktop.org/gstreamer/ ... 9278cc9a03

diff --git a/gst/rtp/gstrtpmpvdepay.c b/gst/rtp/gstrtpmpvdepay.c
index 7d8646c..e65df92 100644
--- a/gst/rtp/gstrtpmpvdepay.c
+++ b/gst/rtp/gstrtpmpvdepay.c
@@ -117,7 +117,7 @@ static GstBuffer *
gst_rtp_mpv_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
{
GstRtpMPVDepay *rtpmpvdepay;
- GstBuffer *outbuf;
+ GstBuffer *outbuf = NULL;
GstRTPBuffer rtp = { NULL };
rtpmpvdepay = GST_RTP_MPV_DEPAY (depayload);
@@ -176,16 +176,19 @@ gst_rtp_mpv_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
"gst_rtp_mpv_depay_chain: pushing buffer of size %" G_GSIZE_FORMAT,
gst_buffer_get_size (outbuf));
}
- return outbuf;
}
- return NULL;
+ gst_rtp_buffer_unmap (&rtp);
+
+ return outbuf;
/* ERRORS */
empty_packet:
{
GST_ELEMENT_WARNING (rtpmpvdepay, STREAM, DECODE,
(NULL), ("Empty payload."));
+ gst_rtp_buffer_unmap (&rtp);
+ gst_buffer_unref (buf);
return NULL;
}
}

Post Reply