diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-01-20 14:10:55 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-01-20 14:10:55 +0000 |
commit | 693b3b7e0bc16604321724686c1e174c6b6fb45b (patch) | |
tree | fbad200ac9af1ba770d0bf6f6c2d83c25b8a3a1a | |
parent | 08855b45b6fddd4f675191f1ebec012917fb1664 (diff) |
h264depay: don't leak codec data buffer in byte-stream=true mode
https://bugzilla.gnome.org/show_bug.cgi?id=640063
-rw-r--r-- | gst/rtp/gstrtph264depay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c index 20261c580..0d6262838 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, |