playbin2: Return NOT_LINKED for unselected text pads from a demuxer
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 4 Nov 2009 09:52:06 +0000 (10:52 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 4 Nov 2009 09:53:27 +0000 (10:53 +0100)
commit067245760481e0c1431c68fe03898bd235c3610d
treecbf672de56516ec8f9dcfe440452c2153aae985e
parentf71ed36694d378c4dc02bc2729efbe10241ba47e
playbin2: Return NOT_LINKED for unselected text pads from a demuxer

We want to return NOT_LINKED for unselected pads but only for pads
from the normal uridecodebin. This makes sure that subtitle streams
are not raced past audio/video from decodebin2's multiqueue.

For pads from suburidecodebin OK should always be returned, otherwise
it will most likely stop with an error.
gst/playback/gstplaybin2.c