Mysterious issue with gst_buffer_make_writable.
Stirling Westrup
swestrup at gmail.com
Mon Apr 20 08:29:33 PDT 2015
Right now we have a piece of code in a transformation element where we call
buffer = gst_buffer_make_writable(buffer);
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.
However, if we replace that line with
if( !gst_buffer_is_writable(buffer) )
GST_ERROR("Oh Noes!");
then everything works fine. Any idea what could be going on?
--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150420/589705e4/attachment.html>
More information about the gstreamer-devel
mailing list