GNOME Bugzilla – Bug 751072
applemedia: enable sharing of CMBlockBuffer data
Last modified: 2015-08-16 13:39:04 UTC
When Apple's CMBlockBuffer objects are currently wrapped in GstMemory (and consequentially in GstBuffer), we do it with GST_MEMORY_FLAG_NO_SHARE. This has the unfortunate side effect of forcing copies. The attached one-line patch fixes that.
Created attachment 305426 [details] [review] applemedia: enable sharing of CMBlockBuffer data
commit ad8bf99f044eaecc5aaf50e5e1c9ce4a9761c67d Author: Ilya Konstantinov <ilya.konstantinov@gmail.com> Date: Mon Apr 27 15:09:18 2015 +0300 applemedia: enable sharing of CMBlockBuffer data Instead of wrapping with GST_MEMORY_FLAG_NO_SHARE, we make the GstMemory object retain the underlying CMBlockBuffer. https://bugzilla.gnome.org/show_bug.cgi?id=751072