public List<Lens> getLens(String videoName){
System.out.println(videoName);
boolean res = new VideoUtil().getLines(videoName, 0.0 , 300000);
try {
Thread.sleep(20000);
} catch (InterruptedException e) {
e.printStackTrace();
}
List<Lens> copyList = list;
list.clear();
if(res){
videoService.save(copyList);
return copyList;
}
return null;
}
videoService.save(copyList);是空的