Pipeline state is stuck.
Stirling Westrup
swestrup at gmail.com
Thu Jan 10 12:02:57 PST 2013
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?
--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
More information about the gstreamer-devel
mailing list