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

https://bugzilla.gnome.org/show_bug.cgi?id=640063
This commit is contained in:
Tim-Philipp Müller 2011-01-20 14:10:55 +00:00
parent 08855b45b6
commit 693b3b7e0b

View file

@ -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,