Skip to content
Snippets Groups Projects
Commit 8835e757 authored by Frediano Ziglio's avatar Frediano Ziglio
Browse files

channel-display-gst: Prevent accumulating output queue


display_queue is queued with decoded frames ready to be displayed.
However current code can insert a timeout before displaying and
removing the queued frames. As the frames are not compressed the
usage of memory by this queue can became in some cases quite
huge (in the order of multiple gigabytes).
To prevent this do not queue all the frames but just one and count the
pending frames.
This way GStreamer will stop queuing after a while.

Signed-off-by: default avatarFrediano Ziglio <fziglio@redhat.com>
Acked-by: default avatarSnir Sheriber <ssheribe@redhat.com>
parent f5965493
No related branches found
No related tags found
Loading
Pipeline #1997 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment