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

No reference kept to original buffer after compensating timestamps #131

Open
JassonRM opened this issue Jul 13, 2022 · 0 comments · Fixed by #132
Open

No reference kept to original buffer after compensating timestamps #131

JassonRM opened this issue Jul 13, 2022 · 0 comments · Fixed by #132
Assignees
Labels

Comments

@JassonRM
Copy link
Contributor

When compensating timestamps a new writable buffer is created but there is no reference kept to the original buffer. This causes upstream bufferpools to try to recycle buffers but the memory isn't writable yet since other buffers are still using it. I found the issue on an iMX8 when using the imxvideoconvert_g2d plugin before gst-interpipe:

... ! imxvideoconvert_g2d ! interpipesink ...

This caused heavy CPU usage due to imxvideoconvert_g2d trying to recycle the buffers but failing and allocating new memory.

@JassonRM JassonRM added the bug label Jul 13, 2022
@JassonRM JassonRM self-assigned this Jul 13, 2022
@JassonRM JassonRM linked a pull request Jul 13, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant