<div dir="ltr"><span style="font-size:12.8px">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:</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">$ gst-launch-1.0 filesrc location=/path/to/some_text_<wbr>file ! print_tst ! fakesink</div><div style="font-size:12.8px">Setting pipeline to PAUSED ...</div><div style="font-size:12.8px">Pipeline is PREROLLING ...</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">(gst-launch-1.0:13550): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">And process never finish, I need to press Ctrl + c</div><div style="font-size:12.8px">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/<wbr>fortizc/<wbr>d67109eaa021f5ae9a7b72179f67a9<wbr>5b</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/<wbr>GStreamer/gst-python/blob/<wbr>master/examples/plugins/<wbr>python/identity.py</a></div><div style="font-size:12.8px"><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>Has anyone had the same problem?</div><div><br></div><div>Cheers</div></div></div>