Commit 693b3b7e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

h264depay: don't leak codec data buffer in byte-stream=true mode

https://bugzilla.gnome.org/show_bug.cgi?id=640063
parent 08855b45
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment