From: Edward H. <bi...@gm...> - 2007-01-26 17:53:57
|
On 1/26/07, Antoine Pitrou <ant...@we...> wrote: > > Hi, > > I encounter a strange behaviour of gstreamer with some custom elements > written in Python. I have a custom element which acts as a demuxer and > has one sink pad and two source pads. I want to attach each of those > source pads to a custom sink element. > > I observe the following behaviour: > - when I add only one sink element to the pipeline, everything works > fine (buffers flow as intended) > - when I add two sink elements as intended, things get messy ; buffers > get to the custom "demuxer" element but, when fed to one of the source > pads, they aren't transmitted to the linked sink element > > I attach a Python program which reproduces this behaviour. > "python gst-bug.py 0" works fine. > "python gst-bug.py 1" exhibits the bug: nothings gets at the sink. The problem is just that you need queues between your demuxer and sinks. One comment though: your demuxer chain function should return the return value from the push Edward > > Regards > > Antoine. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > gstreamer-devel mailing list > gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > > -- Edward Hervey Multimedia editing developer / Fluendo S.A. http://www.pitivi.org/ |