From 693b3b7e0bc16604321724686c1e174c6b6fb45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 20 Jan 2011 14:10:55 +0000 Subject: [PATCH] h264depay: don't leak codec data buffer in byte-stream=true mode https://bugzilla.gnome.org/show_bug.cgi?id=640063 --- gst/rtp/gstrtph264depay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c index 20261c5803..0d62628384 100644 --- a/gst/rtp/gstrtph264depay.c +++ b/gst/rtp/gstrtph264depay.c @@ -445,6 +445,7 @@ gst_rtp_h264_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps) gst_caps_set_simple (srccaps, "codec_data", GST_TYPE_BUFFER, codec_data, NULL); + gst_buffer_unref (codec_data); } gst_caps_set_simple (srccaps, "stream-format", G_TYPE_STRING,