The demuxer also has access to the source directly, so if it needs the amount buffered, it can get it easily.