<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hey folks,<br></div><div><br></div><div>I've been trying to implement a Bin Src element but I'm struggling to make it work properly. I created a simplified version of the bin that only contains a filesrc, the code is here <a target="_blank" href="https://github.com/rsantos-sequence/CustomSourceBin">https://github.com/rsantos-sequence/CustomSourceBin</a>.<br></div><div><br></div><div>A requirement that we have is that it should operate in Pull mode, so both the bin's ghostpad and filesrc's src pad are activated in Pull mode.<br></div><div><br></div><div>The final bin that we are trying to build is more complex and has another custom element that we implemented. But to make things simpler I only added the filesrc in this sample, as the issue also happens in this case.<br></div><div><br></div><div>This bin implements the GstUriHandler interface. Our goal is to autoplug this source bin in other pipelines. There are two samples in the bin/ folder, one for regular pipelines and other for a GES pipeline.<br></div><div><br></div><div>What's happening is that it works for the vast majority of cases when I run the bin/sample program (occasionally it hangs). However, when I ran the bin/ges-sample, the program always hangs. The only meaningful message that I can see is that calling filesrc.range() function is returning Flushing just before the halting. I've been trying to understand this error for the last two weeks with no luck.<br></div><div><br></div><div>Can someone take a look at this implementation and give me some hints about what I might be missing?<br></div><div><br></div><div class="zmail_signature_below"><div id="" data-zbluepencil-ignore="true" data-sigid="8819909000000014001"><div>Rodrigo Santos<br></div></div></div><div><br></div></div><br></body></html>