[gst-devel] strange problem with two sink elements in a pipeline

Edward Hervey bilboed at gmail.com
Fri Jan 26 18:53:56 CET 2007


On 1/26/07, Antoine Pitrou <antoine.pitrou at wengo.com> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
>


-- 
Edward Hervey
Multimedia editing developer / Fluendo S.A.
http://www.pitivi.org/




More information about the gstreamer-devel mailing list