aacparse: fix codec_data buffer leak
https://bugzilla.gnome.org/show_bug.cgi?id=740101
This commit is contained in:
parent
5e4f215bfb
commit
7fe18db041
@ -248,6 +248,7 @@ gst_aac_parse_set_src_caps (GstAacParse * aacparse, GstCaps * sink_caps)
|
||||
gst_buffer_fill (codec_data_buffer, 0, codec_data, 2);
|
||||
gst_caps_set_simple (src_caps, "codec_data", GST_TYPE_BUFFER,
|
||||
codec_data_buffer, NULL);
|
||||
gst_buffer_unref (codec_data_buffer);
|
||||
}
|
||||
} else if (aacparse->header_type == DSPAAC_HEADER_NONE) {
|
||||
GST_DEBUG_OBJECT (GST_BASE_PARSE (aacparse)->srcpad,
|
||||
|
Loading…
x
Reference in New Issue
Block a user