use of de.serviceflow.frankenstein.vf.FilterElement in project Frankenstein by olir.
the class ProcessingSceneController method videoStarted.
@Override
public void videoStarted(int frames, double fps) {
this.fps = fps;
this.frames = frames;
adjustVideoLengthDisplay();
Platform.runLater(() -> {
this.slider.setMin(1);
this.slider.setValue(1);
this.currentFrameIndex.setText("1");
this.currentTime.setText("" + time(0));
btnMark.setDisable(false);
currentTime.setDisable(false);
currentFrameIndex.setDisable(false);
});
FilterElement val = new FilterElement(new Range(1, frames), this);
filterListData.add(val);
Platform.runLater(() -> {
drawEditCanvas();
});
}
Aggregations