mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue