[Bug 711606] applemedia: coremediabuffer: use correct retain/release functions on CMSampleBufferRef buffer

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 7 12:19:36 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=711606
  GStreamer | gst-plugins-bad | git

Andoni Morales <ylatuya> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ylatuya at gmail.com

--- Comment #4 from Andoni Morales <ylatuya at gmail.com> 2013-11-07 20:19:34 UTC ---
We should probably keep an extra ref to the block_buf and image_buf and release
them in the free function. 

>From the docs for CMSampleBufferGetDataBuffer and 
CMSampleBufferGetImageBuffer:
"The caller does not own the returned dataBuffer, and must retain it explicitly
if the caller needs to maintain a reference to it."

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list