GNOME Bugzilla – Bug 750671
vtenc: free input buffer ASAP
Last modified: 2015-06-10 08:31:00 UTC
VTCompressionSessionEncodeFrame retains the CVPixelBuffer during encoding, and will release it as soon as it can (e.g. before it even calls our callback). This means we can safely release input buffer at this point, possibly allowing the system to reuse it sooner.
Created attachment 304899 [details] [review] vtenc: free input buffer ASAP
Comment on attachment 304899 [details] [review] vtenc: free input buffer ASAP Should probably do the same in other encoders, we currently don't :)