<div dir="ltr"><div><div><div><div>Right now we have a piece of code in a transformation element where we call<br><br></div><span style="font-family:monospace,monospace">buffer = gst_buffer_make_writable(buffer);</span><br><br></div>Where that line appears to corrupt something such that, after passing on the buffer, when it eventually gets used and unrefed, we get an assertion error that its not a valid buffer.<br><br></div>However, if we replace that line with<br><br></div><span style="font-family:monospace,monospace">if( !gst_buffer_is_writable(buffer) )<br> GST_ERROR("Oh Noes!");</span><br><div><div><div><div><div><br></div><div>then everything works fine. Any idea what could be going on?<br clear="all"></div><div><br>-- <br><div class="gmail_signature">Stirling Westrup<br>Programmer, Entrepreneur.<br><a href="https://www.linkedin.com/e/fpf/77228" target="_blank">https://www.linkedin.com/e/fpf/77228</a><br><a href="http://www.linkedin.com/in/swestrup" target="_blank">http://www.linkedin.com/in/swestrup</a><br><a href="http://technaut.livejournal.com" target="_blank">http://technaut.livejournal.com</a><br><a href="http://sourceforge.net/users/stirlingwestrup" target="_blank">http://sourceforge.net/users/stirlingwestrup</a></div>
</div></div></div></div></div></div>