Pipeline state is stuck.

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Jan 10 12:22:43 PST 2013


On Thu, 2013-01-10 at 15:02 -0500, Stirling Westrup wrote:

> As part of an experiment, I set up a dynamic pipeline and deliberately
> set an invalid display on xvimagesink, as I wanted to know what sort
> of error I would get, so I could produce a good diagnostic to the user
> (who provides the display number) in my application.
> 
> As expected, the pipeline failed to transition from PAUSED to PLAYING
> state with xvimagesink producing an error.
> 
> However, during shutdown, I found that the pipeline was now stuck in
> its current state. Any attempt to set the pipeline into NULL state
> would fail. As a consequence, all attempts to unref the pipeline
> failed.
>
> How do I FORCE a pipeline to enter NULL state? Do I really have to
> write a routine that recursively sets each individual element to NULL
> and then removes and unrefs it?

It sounds like a bug somewhere. I'd guess in xvimagesink. Would be great
if you could track it down and put a patch in bugzilla, thanks!

Cheers
 -Tim






More information about the gstreamer-devel mailing list