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

Unref events which are not accepted #150

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

uboot
Copy link

@uboot uboot commented Apr 3, 2023

In one of our automated tests we had the following situation: a pipline which fed (H264) buffers into an interpipesink was started. Right after that we started a second pipeline which consumed these buffers via an interpipesrc. When doing this the GStreamer leak tracer reported some leaked tag events. Introducing a short wait between starting the two pipelines would remove the leak.

It seems that the leaked events arrive at the second pipeline while the (second) pipeline is not able to accept them (because it is still starting up?). The intention of this PR is to unref the events in such a situation.

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

Successfully merging this pull request may close these issues.

1 participant