stats->type set to NOTHING by default in some instances stats->type was not being set (namely lowdelay=1, packed=1, type=nvop).
Changed paths: