<div dir="ltr">Hi, I try to create a custom element using python inheriting from GstBase.BaseTransform implementing do_transform() method, but when I launch a pipeline with gst-launch-1.0 I see the following error:<div><br></div><div>$ gst-launch-1.0 filesrc location=/path/to/some_text_file ! print_tst ! fakesink</div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div><br></div><div>(gst-launch-1.0:13550): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed </div><div><br></div><div>And process never finish, I need to press Ctrl + c</div><div>To learn and test this I write a very simple element that receives a buffer and print to stdout, the code is here <a href="https://gist.github.com/fortizc/d67109eaa021f5ae9a7b72179f67a95b">https://gist.github.com/fortizc/d67109eaa021f5ae9a7b72179f67a95b</a> and to write this I use as a model this element <a href="https://github.com/GStreamer/gst-python/blob/master/examples/plugins/python/identity.py">https://github.com/GStreamer/gst-python/blob/master/examples/plugins/python/identity.py</a></div><div><br><div>The element works fine if I use do_transform_ip() instead do_transform() but I need to modify the buffer and to do this use do_transform() seems to be the only way.</div><div><br></div><div>Anyone has had the same problem?</div><div><br></div><div>Cheers</div>-- <br><div class="gmail_signature">Felipe Ortiz C.</div>
</div></div>