Rebuilding the pipeline...

Tim Müller tim at centricular.com
Wed Apr 30 14:49:07 PDT 2014


On Wed, 2014-04-30 at 14:19 +0200, Eric Trousset wrote:

> Would it be possible to rebuild the pipeline (playbin) keeping the
> same source element and possibly the same video sink ?
> 
> I have to handle a media type change. I d like the change to be
> seamless. 
> 
> Any advice on how to achieve this?

Have you tried using the 'about-to-finish' signal of playbin yet to
achieve "gapless" playback? (The time for the new source to preroll is
not very large, so if there's lag for the second uri it won't be
seamloss, but that's the easiest way to make it work).

What do you mean by 'media type change'? Uri protocol? Format?

Cheers
 -Tim 

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list