[gst-devel] Adder element and pipeline rebuilding

Wim Taymans wim.taymans at gmail.com
Fri Jan 2 16:09:07 CET 2009


On Fri, 2009-01-02 at 10:28 +0100, marco wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> i am trying to have this setup working:
> i have a pipeline with an adder element  placed just after a decodebin  
> element.
> what i want to do is adding a pad to the adder element while the  
> pipeline is in GST_STATE_PLAYING.
> so i create a new bin for the new source, i add it to the pipeline,  
> then i should link it to the adder.
> which is the right sequence to do this?

The sequence is:

1) leave the bin to READY
2) request a new pad from adder
3) link the requested pad to the bin
4) set the bin to PLAYING

> i have problems and crash when i try to do the linking, the pipeline  
> stalls and never restart.

Did you do gobject.threads_init() first?

Wim

> 
> (it seems there is a lack of documentation about this family of  
> problems)
> 
> thanks in advance,
> 
> marco
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
> 
> iEYEARECAAYFAkld3kMACgkQ5A1A6ak/SoVibACeNYAy3iX8ifir2D2nUZmhjPm2
> G9YAn1XTwzfyuvsWUlGkdAyvU0vUQsJ2
> =0aGb
> -----END PGP SIGNATURE-----
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list