-
Notifications
You must be signed in to change notification settings - Fork 57
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
fix: api improvements #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
def __init__(self, owned_info: proto_video_frame.OwnedVideoFrameBuffer) -> None: | ||
self._info = owned_info.info | ||
self._ffi_handle = FfiHandle(owned_info.handle.id) | ||
class VideoFrameBuffer(ABC): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be worth unit testing all of the different frame types in this one. Seems like there's a fair amount of math that would be hard to debug if it was wrong.
pyee
dependencyclose
toaclose
for async functions