Handling of hang in one branch of pipeline
Federico Zamperini
fzamperini at tiscali.it
Fri Sep 6 03:38:30 PDT 2013
If I understood correctly, you can put an identity element in each
branch and handle the "handoff" signal in the bus, which is posted every
time a buffer is passed on.
You have to setup a couple of timers to trigger an alarm when no buffers
are passed for a certain amount of time.
Or otherwise look for some other similar signals from the elements that
are most inclined to hang.
Federico
Il 05/09/2013 11:34, Baby Octopus ha scritto:
> Hi,
>
> I'm having a pipeline which is more like this
>
> /--------------
> Branch 1 ------------ Sink 1
> /
> Source ----- Element 1 ---- Element 2 -->|
> \
> \--------------
> Branch 2 ------------ Sink 2
>
> Let us assume Branch 1 hangs for some reason. How can I make sure branch 2
> runs seamlessly?
> Currently the pipeline runs without any issue but just need to have a
> guard-band just in case if one of the branch hangs
>
> PS : I'm unable to post the whole pipeline here since it has lot more
> elements and I'm pretty bad at this drawing :) The usecase is Source is an
> MPTS IP stream, Element 2 is a tee, Branch 1 decodes program 1 and Branch 2
> decodes Program 2
>
> ~BO
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Handling-of-hang-in-one-branch-of-pipeline-tp4661865.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> -----
> Nessun virus nel messaggio.
> Controllato da AVG - www.avg.com
> Versione: 2013.0.3392 / Database dei virus: 3222/6639 - Data di rilascio: 04/09/2013
>
>
More information about the gstreamer-devel
mailing list