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/gst-plugins-good/commit/gst/rtp/gstrtpmpvdepay.c?id=9dfae82566ac5d3e5c2bce59614cfd9278cc9a03

diff --git a/gst/rtp/gstrtpmpvdepay.c b/gst/rtp/gstrtpmpvdepay.c
index 7d8646c..e65df92 100644
--- a/gst/rtp/gstrtpmpvdepay.c <https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/gstrtpmpvdepay.c?id=7e1d28d27fd2473a60117b4ce34f1489372170ab> +++ b/gst/rtp/gstrtpmpvdepay.c <https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/gstrtpmpvdepay.c?id=9dfae82566ac5d3e5c2bce59614cfd9278cc9a03>
@@ -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;
}
}

Reply via email to