inputfifo_determine_type
type = inputfifo_determine_type(input_format);
s2mi->type = inputfifo_determine_type(input_format);