Hi people!<div><br></div><div>I&#39;m using the Gstreamer Python binding and I need to create two new elements: a pure-source and a pure-sink element.</div><div><br></div><div>For the sink element, I can use the base class gst.BaseSink and it works fine, but I can&#39;t say the same with gst.BaseSrc.</div>
<div><br></div><div>I need a lower control on the source element, and I can&#39;t find the way for doing it inheriting from gst.BaseSrc or gst.Element.</div><div><br></div><div>My problem is more complicated, but imaging that I want to implement the example of source with sometimes pad [1] seen on the plugin writer guide, but in Python. In this example, a loop method is used to read the &quot;header&quot; of the file and get the pads available when each line of the input file is read.</div>
<div><br></div><div>How can I write this example in Python? Is it really possible? I don&#39;t find on the python-binding documetation anything about loop function in gst.Element class.</div><div><br></div><div>Thanks for your attention</div>
<div><br></div><div>[1] <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/chapter-advanced-request.html#section-reqpad-sometimes">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/chapter-advanced-request.html#section-reqpad-sometimes</a></div>
<div><br></div><div>P.S. Sorry for my bad English.</div><div>P.S.2 I don&#39;t know if there is the right place to ask this questions about PyGst... but I didn&#39;t found any other list or FAQ python-related on the Gstreamer web.</div>
<div><br></div><div><br></div>