<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1481234722685_80366">Interesting...  I'm using a pi3 with python with this pipeline:</div><div><br></div><div>     filesrc->decodebin->glimagesink.<br></div><div id="yui_3_16_0_ym19_1_1481234722685_80365"><br></div><div id="yui_3_16_0_ym19_1_1481234722685_82166"><br></div><div id="yui_3_16_0_ym19_1_1481234722685_69435" dir="ltr">I use set_window_handle from python and am also seeking within my videos.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1481234722685_82174"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1481234722685_82173">the only event I handle is "prepare_window_handle", maybe I need to handle some more to clean things up ?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1481234722685_82212"><br></div>Alternately maybe the double free is in glimagesink ?<br><div id="yui_3_16_0_ym19_1_1481234722685_69308"><span></span></div><div id="yui_3_16_0_ym19_1_1481234722685_69309"> </div><div class="signature" id="yui_3_16_0_ym19_1_1481234722685_69187">S++</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, December 9, 2016 10:45 AM, Enrique Ocaña González <eocanha@igalia.com> wrote:<br></font></div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <br><br> <div class="y_msg_container">El jueves, 8 de diciembre de 2016 23:14:49 (CET) Stuart Axon escribió:<div class="yqt4201062239" id="yqtfd86990"><br clear="none"><br clear="none">> I've been playing a video, just before it gets to the end it freezes and I<br clear="none">> get the output below. For now I haven't managed to make some minimal code<br clear="none">> to reproduce it yet, so just wondering it is known - similar to the OMX bug<br clear="none">> mentioned earier ?</div><br clear="none"><br clear="none">We had similar "Insufficient resources" errors in our project in the past <br clear="none">(gst-omx, Raspberry Pi 2, omx decoder, egl buffers). Knowing how we solved it <br clear="none">might be useful for you.<br clear="none"><br clear="none">In our particular case, the problem was that we had a custom video sink which <br clear="none">provided the last sample (the last egl_buffer) to the application. Our <br clear="none">application was holding that egl_buffer even after the pipeline wanted to <br clear="none">flush (eg: during seeks). Eventually, this exhausted the egl buffer pool and <br clear="none">led to the same error you're having. The summary: double check that that your <br clear="none">sink honors the flush-start event and that it doesn't hold or leak any egl <br clear="none">buffer after flush-starts.<br clear="none"><br clear="none">Cheers.<br clear="none"><br clear="none">-- <br clear="none">Enrique Ocaña González<br clear="none">_______________________________________________<br clear="none">gstreamer-devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none"><a shape="rect" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><div class="yqt4201062239" id="yqtfd54629"><br clear="none"></div><br><br></div> </blockquote> </div> </div>  </div></div></body></html>