<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
First looks like you are not instanciate a `my_bin` but a regular bin<br>
(`my_bin = gst_bin_new ("my_bin");`).<br>
Then you will need to set `MyBinClass->handle_message` in the class<br>
init function.<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">Hi Thibault,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Yes you are right. I then called directly the factory:  <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_extra">my_bin = gst_element_factory_make ("my_bin", "testbin");<br></div></blockquote><div><br></div><div>But it is failing no element :my_bin.<br></div><div>What am I missing here ? Shall I create a factory for "my_bin" ?</div><div><br></div><div>Thanks<br></div></div>