handling eos on a branched pipeline

Lajos Okos lajos.okos at gmail.com
Fri Sep 19 02:41:37 PDT 2014


Dear Tim,

Thanks a lot for the sample code. It was a great help, I can start my
recordbin as many times as I want now.

Best Regards,
Lajos


On Thu, Sep 18, 2014 at 11:26 PM, Tim Müller <tim at centricular.com> wrote:

> On Thu, 2014-09-18 at 18:02 +0200, Lajos Okos wrote:
>
> Hi Lajos,
>
> here's an example how to do something similar in 1.x (the start/stop
> buttons are simulated by a timer that starts/stop the recording):
>
> http://people.freedesktop.org/~tpm/code/test-backlog-recording-h264.c
>
>  Cheers
>   -Tim
>
> > Dear Guys,
> >
> >
> > This may be an evergreen but I cannot find a solution to handle EOS on
> > a branched pipeline that enables to start the recordbin for more than
> > one time.
> >
> >
> > My pipeline is as simple as:
> >
> >
> > srcbin ! tee name=t ! displaybin t. ! recordbin
> >
> >
> > The solutions I found at
> >
> http://gstreamer-devel.966125.n4.nabble.com/Handling-EOS-in-a-branched-pipeline-td2965563.html
> is working  fine until I start and stop the recordbin for one time.
> >
> >
> > Once I try to restart the recordbin EOS events are popping up and
> > killing most of the tasks in my pipeline.
> >
> >
> > Is there a way to flush every hiding EOS events from the whole
> > pipeline before restarting the recordbin? Is there a way to catch and
> > handle the EOS message from the recordbin?
> >
> >
> > Hope someone has some good ideas!
> >
> >
> > Best Regards,
> >
> >
> > Lajos
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140919/24d648de/attachment.html>


More information about the gstreamer-devel mailing list