<div dir="ltr">You should have rather taken a quick look at the program or just an explanation how it works:<div><br></div><div>it iteratively changes location in the pipeline</div><div><br></div><div>filescrc location=... ! decodebin ! imagefreeze ! videoconvert ! vaapisink</div><div><br></div><div>and it leaks. It does not if you replace vaapisink with ximagesink (hence the program itself does not leak, except in vaapisin). Is there anything forbidden/suspicious in this pipeline and/or the program? I don't think so. Do you?</div><div><br></div><div>This happens on all platforms: Intel, NVidia, AMD Radeon with video acceleration. Hence vaapisink is to blame, since it's highly improbable that 3 independent drivers leak similarly.</div><div><br></div><div>Do you guys understand any logical arguments? We are talking about a program that definitely demonstrates leaks in vaapisink, and not about (any number of) your particular programs which do not. Remember, in mathematics, any number of examples that confirm a statement DO NOT prove it, unfortunately (statement being "vaapisink does not leak"), but just one that refutes it, DISPROVES it completely. Your program does not confirm that there are no leaks, whereas mine definitely PROVES there are leaks in vaapisink, fullstop. Explain to me what isn't still clear. In programming terms: testing does not prove the absence of errors, just finds their presence, sometimes. Bad luck...</div><div><br></div><div>I contacted the guys from gstreamer-vaapisink (which does not happen to belong to gstreamer) maybe they understand somewhat better. It would be stupid for me searching errors in vaapisink, I've never seen the source code and I am pretty sure the developers will find the errors much faster and more efficient.</div><div><br></div><div>---</div><div>Valgrind is a bad substitute for lack of imagination...<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 9, 2014 at 6:07 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On So, 2014-11-09 at 15:12 +0100, Sergei Vorobyov wrote:<br>
> Hi, Nicolas,<br>
><br>
> as I explained, it's 100% clear that the leak is in vaapisink, and it would<br>
> be more efficient if developers investigate it, given that I provided a<br>
> full minimal program that exhibits the leak on vaapisink and not on<br>
> ximagesink (on each of Intel, AMD, NVidia).<br>
<br>
</span>The problem here is that it doesn't leak for others. For me using<br>
vaapisink after a videotestsrc or anything else really does not cause<br>
increased memory usage. So either you have to provide the information<br>
you're asked for or have to debug and fix it yourself.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>