Thiago Santos d54d51d0d2 playbin: ignore new pads if it is shutting down
If a new pad is added after playbin has been put to READY/NULL it
should ignore new pads as it is shutting down.

This can happen when the pipeline fails to preroll (is still in READY)
and the user gives up on waiting or an error that doesn't reach
the demuxer occurs (on some event handling) and it will continue to
work and exposing pads while playbin has been put to NULL.

Without this check an input-selector is created and set to PAUSED
state, preventing playbin from properly shutting down in case it
has data blocked inside it.
2015-03-25 08:32:33 -03:00
..
2013-11-16 16:10:07 +00:00
2014-12-14 12:09:12 +01:00
2014-11-15 23:13:42 +00:00
2015-03-24 15:23:34 -04:00
2015-03-10 09:27:08 +00:00