make the decoder type a commandline option