<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Hello there,<br>
<br>
my name is Matteo and together with my group I'm developing a
quite complex video-surveillance application based on GStreamer
(Windows). For simplicity you can imagine a window with a grid
layout with many concurrent videos showing in their respective
area and fetching data through RTSP/RTP.<br>
<br>
We noticed that if we make any change that in some way slows down
or stops the visualization the memory heap starts increasing very
fast until the process inevitably crashes.<br>
<br>
Then I tried to insulate the issue by simply using gst-launch with
an RTSP/RTP source and putting a very silly<br>
<br>
while(1)<br>
Sleep(500);<br>
<br>
inside the show_frame function of videosink plugin (in our case
d3dvideosink), and the problem is easily reproduced.<br>
<br>
Can you please try to give me an idea of the lifetime of GstBuffer
through the pipeline? I mean, the heap issue is surely caused by a
continuous allocation of GstBuffer's by the RTP source without a
corresponding free when they are consumed, but who is in charge of
this? Why isn't there a mechanism that checks the consumer status
and eventually stops the producer?<br>
<br>
Many thanks in advance for your kind support,<br>
<br>
Matteo <br>
</font>
</body>
</html>