After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750671 - vtenc: free input buffer ASAP
vtenc: free input buffer ASAP
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Mac OS
: Normal enhancement
: 1.5.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-09 21:11 UTC by Ilya Konstantinov
Modified: 2015-06-10 08:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vtenc: free input buffer ASAP (1.09 KB, patch)
2015-06-09 21:12 UTC, Ilya Konstantinov
committed Details | Review

Description Ilya Konstantinov 2015-06-09 21:11:20 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.
Comment 1 Ilya Konstantinov 2015-06-09 21:12:38 UTC
Created attachment 304899 [details] [review]
vtenc: free input buffer ASAP
Comment 2 Sebastian Dröge (slomo) 2015-06-10 08:30:49 UTC
Comment on attachment 304899 [details] [review]
vtenc: free input buffer ASAP

Should probably do the same in other encoders, we currently don't :)