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

[Question] Change the buffer size #6

Open
yuyou opened this issue May 26, 2020 · 0 comments
Open

[Question] Change the buffer size #6

yuyou opened this issue May 26, 2020 · 0 comments

Comments

@yuyou
Copy link

yuyou commented May 26, 2020

As per README, you can modify the buffer as

with map_gst_buffer(buffer, Gst.MapFlags.READ | Gst.MapFlags.WRITE) as mapped:

My question is: what if I want to increase the buffer size by appending some bytes from Python?
Is it possible? If so, how to convert Python bytearray to C byte array, using Ctypes?

Thanks.

Best Regards,

Yu

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

No branches or pull requests

1 participant