Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding frame.keep() API #1015

Merged
merged 1 commit into from
Jan 17, 2018
Merged

Conversation

dorodnic
Copy link
Contributor

Following-up on #1000 (Saving frames for future processing) and related

This PR introduces keep method on rs2::frame object (available to C, C++, python and .NET right now) that communicates the intent to hold-on to that frame for longer processing.

(cherry picked from commit 4c06c54f1cdb26dd8ad06c1fc165a06f79c1f5b2)

# Conflicts:
#	src/archive.cpp
#	src/archive.h
#	wrappers/python/python.cpp
@dorodnic dorodnic merged commit 656025c into IntelRealSense:development Jan 17, 2018
@joseluisreyes
Copy link

joseluisreyes commented Oct 25, 2018

Do you have to call ~frame() to deallocate memory after popping from say, a queue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants