move Container::State to Demuxer::State since Muxer::State will be
different.