<div dir="ltr"><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"><div dir="auto"><br><div dir="auto">This is quite common. What we usually do is queue the called back buffer, and send them using the create() virtual function. If the queue is empty, we wait.</div><br>
</div></blockquote><div>Thank You so much<span class="gmail-qu" tabindex="-1"><span name="Nicolas Dufresne" class="gmail-gD"> Nicolas for the input. I was overriding just the _fill virtual function and that was leading to unimaginably large files and unplayable files with filesink. <br></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Nicolas Dufresne" class="gmail-gD"><br></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Nicolas Dufresne" class="gmail-gD">I'm at a bit of a loss here on how to go about writing the element. I found Stirling Westrup's notes here <a href="http://gstreamer-devel.966125.n4.nabble.com/Writing-Source-Help-td4667076.html">http://gstreamer-devel.966125.n4.nabble.com/Writing-Source-Help-td4667076.html</a> although I feel referring to a similar source element would be largely helpful. Is there such an element I can refer to?</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Nicolas Dufresne" class="gmail-gD"><br></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Nicolas Dufresne" class="gmail-gD">The neonhttpsrc and frei0r elements are there but I don't think they are quite like what I want to do, are they?</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Nicolas Dufresne" class="gmail-gD"><br></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Nicolas Dufresne" class="gmail-gD">Regards</span></span><br clear="all"></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Mandar Joshi</div><div>Czar Softech</div><div><i><a href="https://www.czarsoftech.com" target="_blank">https://www.czarsoftech.com</a></i><br></div></div></div></div>