Demuxer: use list instead of vector