<html><head><style id="-x-evo-style-a" type="text/css">a { cursor: text; }</style></head><body><pre>Le mercredi 06 mai 2015 à 18:48 +0000, Spruyt, Randy a écrit :</pre><blockquote type="cite"><div><span class="Apple-tab-span" style="white-space:pre"> </span>// need to get the underlying buffer to store data in</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>gst_buffer_map (buf, &info, GST_MAP_WRITE);</div></blockquote><div><br></div><div>When you map a buffer you must a) check the return value, otherwise you may be accessing random pointer and b) unmap the buffer, see gst_buffer_unmap(). The second is causing the leak.</div><div><br></div><div>Nicolas</div><div><br></div></body></html>