-
gst_buffer_make_writable() requires exclusive reference to the GstMemory so the _make_writable() for the msdk buffer will result to fallback system memory copy, because the msdk memory were initialized with GST_MEMORY_FLAG_NO_SHARE flag. Note that, disable sharing GstMemory brings high overhead but actually the msdk memory objects can be shared over multiple buffers. If the memory is not shareable, newly added GstAllocator::mem_copy will create copied msdk memory.
d4112d3d