possibly memory leakage in an endless looping video playback
Got some strange growing memory usage using a simple pipeline with glupload.
I wrote a simple program based on the glupload example: There is a simple pipeline: filesrc > qtdemux > queue > h264parse > avdec_h264 > glsinkbin. If the bus got message EOS, I simple set state to ready and then to play so that the video plays endless.
On each new start of the video the memory usage of the program rises.
I already tried different gstreamer-rs and gstreamer version.
Created a short example to see the problem is: https://github.com/mcbernie/glupload-rs-test (Only runs on Linux)
The example is a simple copy & paste from glupload example with the pipeline for play mp4 videos
Start the program with:
cargo run --features="gl-x11"
In a second console I simple run:
while :; do echo $(ps aux | grep '[t]arget/debug/glupload'); sleep 2; done