h265parse: Fix buffer memory leak.
While setting caps, codec_data buffer is mapped, but not being unmapped leading to memory leaks. https://bugzilla.gnome.org/show_bug.cgi?id=761070
This commit is contained in:
parent
e294866bd7
commit
6a35a4018e
@ -2032,7 +2032,7 @@ gst_h265_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
||||
off = nalu.offset + nalu.size;
|
||||
}
|
||||
}
|
||||
|
||||
gst_buffer_unmap (codec_data, &map);
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (h265parse, "have bytestream h265");
|
||||
/* nothing to pre-process */
|
||||
|
Loading…
x
Reference in New Issue
Block a user