[Bug 747216] applemedia: implement GstCoreVideoMemory

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 26 19:24:47 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747216

--- Comment #10 from Ilya Konstantinov <ilya.konstantinov at gmail.com> ---
TBD:

There's gst_core_media_buffer_wrap_block_buffer which exists (probably) for
wrapping audio data of CMSampleBuffers (coming from avfassetsrc). It uses
GST_MEMORY_FLAG_NO_SHARE, which is bad.

Luckily, we can do without a custom memory type here -- just change:

gst_memory_new_wrapped (GST_MEMORY_FLAG_NO_SHARE, data, size, 0, size, NULL,
NULL));

to:

gst_memory_new_wrapped (0, data, size, 0, size, CFRetain (block_buf),
(GDestroyNotify) CFRelease));

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list