Skip to content

rtpjpeg: Use gst_memory_map() instead of gst_buffer_map()

Kristofer requested to merge Bjorkstrom/gst-plugins-good:master into master

gst_buffer_map () results in memcopying when a GstBuffer contains more than one GstMemory. This has quite an impact on performance on systems with limited amount of resources. With this patch the whole GstBuffer will not be mapped at once, instead each individual GstMemory will be iterated and mapped separately.

Merge request reports

Loading