handling eos on a branched pipeline

Tim Müller tim at centricular.com
Thu Sep 18 14:26:16 PDT 2014


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



More information about the gstreamer-devel mailing list