ultrawidify/js/lib/VideoData.js

18 lines
296 B
JavaScript
Raw Normal View History

2018-05-09 00:03:22 +02:00
class VideoData {
constructor(video){
this.video = video;
// todo: add ArDetect instance
this.arDetector = new ArDetector(video);
this.resizer = new Resizer();
2018-05-09 00:03:22 +02:00
}
destroy() {
this.arDetector.stop();
}
setLastAr(lastAr){
this.resizer.setLastAr(lastAr);
}
2018-05-09 00:03:22 +02:00
}