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

Using pl_queue_push and queue count appears to be too high #283

Open
spedagadi opened this issue Aug 9, 2024 · 0 comments
Open

Using pl_queue_push and queue count appears to be too high #283

spedagadi opened this issue Aug 9, 2024 · 0 comments

Comments

@spedagadi
Copy link

I am using a capture device to feed frames using pl_queue_push https://github.com/spedagadi/eva-dtm/blob/003a847b22386dbf2ac4b3c55b1203f8e8d25b55/src/main.c#L320 and it looks like there are usually 15 frames in the queue causing a delay. Good thing is the delay is not growing but I would like to be able to process latest frame as soon as possible.

I also have a suspicion that the ffmpeg's decoder may have some internal latency as well but in debugging it is clear the pl_queue is not working with latest frame. Is it possible to make sure there are no pending items in the queue for an incoming frame?

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