[PATCH] fix sw_params handling of timestamp types in direct plugins