import saccubus.worker.profile.GeneralProfile;
/**
- *
- * @author user
+ * コンフィグに設定された値を基にしたConvertProfile実装.
+ * @author yuki
*/
public abstract class ConfigConvertProfile implements ConvertProfile {
private final boolean vhookDisabled;
private final boolean commentOverlay;
private final File vhook;
+ private final File mediaInfo;
private final File tempDir;
private final File font;
private final int fontIndex;
this.vhookDisabled = p.getFfmpegDllDisabled();
this.commentOverlay = p.getOutputCommentOverlay();
this.vhook = new File(p.getFfmpegDllPath());
+ this.mediaInfo = new File(p.getMediaInfoPath());
this.tempDir = new File(p.getSystemTempDir());
this.font = new File(p.getFontPath());
this.fontIndex = Integer.parseInt(p.getFontIndex());
}
@Override
+ public File getMediaInfo() {
+ return mediaInfo;
+ }
+
+ @Override
public File getTempDir() {
return tempDir;
}