Add code from Stream Unlimited implementing a bin which switches between different internal decoding/processing chains based on input caps