[gst-devel] How can I wait for the pipeline destruction?

Edward Hervey bilboed at gmail.com
Sun Apr 25 10:58:09 CEST 2010


On Wed, 2010-04-21 at 03:26 -0800, wl2776 wrote:
> Depending on media, my media player destroys previously created
> playbin2
> instance and creates and fills a new pipeline.
> 
> This new pipeline uses the previously created videosink, which also
> was
> earlier set in the playbin2, because I want to avoid image flickering
> during
> the pipeline recreation. 

  If you use gstreamer >= 0.10.28 you shouldn't have to tear down
playbin2 completely, but instead should be able to re-use it.
  Just set it to READY (instead of NULL), set your new URI, and then
back to PLAYING. If you still get issues with that, you might have
encountered a bug.

   Edward





More information about the gstreamer-devel mailing list